summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-25 19:38:51 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-25 19:38:51 +0000
commitcf5ca279ec62dd1b9055a679a03398b1aee83aa7 (patch)
treed99f4c0f0779101b90cc0392ad9308b04d9f60cd /llvm
parentd7390bbd2720a1bc988f813efc416d48926b0a33 (diff)
downloadbcm5719-llvm-cf5ca279ec62dd1b9055a679a03398b1aee83aa7.tar.gz
bcm5719-llvm-cf5ca279ec62dd1b9055a679a03398b1aee83aa7.zip
Always pass -D_GNU_SOURCE to cc1plus
llvm-svn: 18253
Diffstat (limited to 'llvm')
-rw-r--r--llvm/tools/llvmc/cpp.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvmc/cpp.in b/llvm/tools/llvmc/cpp.in
index 0abc012c3c8..c3022652da5 100644
--- a/llvm/tools/llvmc/cpp.in
+++ b/llvm/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.
OpenPOWER on IntegriCloud