diff options
-rw-r--r-- | clang/utils/builtin-defines.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/clang/utils/builtin-defines.c b/clang/utils/builtin-defines.c index e8d3356277d..9bbe5be2502 100644 --- a/clang/utils/builtin-defines.c +++ b/clang/utils/builtin-defines.c @@ -17,7 +17,7 @@ RUN: else \ RUN: cc_prog=gcc; \ RUN: output=%t1; \ RUN: fi; \ -RUN: $cc_prog $arch $lang $opts -dM -E -x $input %s | sort > $output; \ +RUN: $cc_prog $arch $lang $opts -march=core2 -dM -E -x $input %s | sort > $output; \ RUN: done; \ RUN: if (! diff %t0 %t1); then exit 1; fi; \ RUN: done; \ @@ -37,6 +37,11 @@ RUN: done; #endif /* Undefine things we don't expect to match. */ +#undef __core2 +#undef __core2__ +#undef __SSSE3__ + +/* Undefine things we don't expect to match. */ #undef __DEC_EVAL_METHOD__ #undef __INT16_TYPE__ #undef __INT32_TYPE__ |