diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-25 19:38:51 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-25 19:38:51 +0000 |
commit | 07accb5a60092159600e54da3aca49ed024b9e43 (patch) | |
tree | 8316143db4e46aa9610d595ec389490741a5e8ce | |
parent | c702fa3ff0b2b67564c1176921ba4daa26a2f6d6 (diff) |
Always pass -D_GNU_SOURCE to cc1plus
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18253 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/llvmc/cpp.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llvmc/cpp.in b/tools/llvmc/cpp.in index 0abc012c3c..c3022652da 100644 --- a/tools/llvmc/cpp.in +++ b/tools/llvmc/cpp.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=@LLVMCC1PLUS@ -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. |