diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-25 19:38:39 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-25 19:38:39 +0000 |
commit | c702fa3ff0b2b67564c1176921ba4daa26a2f6d6 (patch) | |
tree | e4b6062a085233f39041ad237ae328bf0e88f252 /tools/llvmc | |
parent | c48c103c335c9c2537b4c5b3caa74b8e5b26d3dd (diff) | |
download | external_llvm-c702fa3ff0b2b67564c1176921ba4daa26a2f6d6.zip external_llvm-c702fa3ff0b2b67564c1176921ba4daa26a2f6d6.tar.gz external_llvm-c702fa3ff0b2b67564c1176921ba4daa26a2f6d6.tar.bz2 |
Always pass -D_GNU_SOURCE to cc1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18252 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc')
-rw-r--r-- | tools/llvmc/c.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/llvmc/c.in b/tools/llvmc/c.in index 9124e9e..6acb9ea 100644 --- a/tools/llvmc/c.in +++ b/tools/llvmc/c.in @@ -28,7 +28,8 @@ # To compile stacker source, we just run the stacker # compiler with a default stack size of 2048 entries. translator.command=@LLVMCC1@ -quiet %in% -o %out% \ - %opt% %incls% %defs% %WOpts% %fOpts% %MOpts% %args% + %opt% %incls% %defs% %WOpts% %fOpts% %MOpts% %args% \ + -D_GNU_SOURCE # stkrc doesn't preprocess but we set this to true so # that we don't run the cp command by default. @@ -61,4 +62,4 @@ ########################################################## # Assembler definitions ########################################################## - assembler.command=llc %in% -o %out% %target% %time% %stats% + assembler.command=@LLVM_BINDIR@/llc %in% -o %out% %target% %time% %stats% |