From: Reid Spencer Date: Thu, 25 Nov 2004 19:38:51 +0000 (+0000) Subject: Always pass -D_GNU_SOURCE to cc1plus X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=07accb5a60092159600e54da3aca49ed024b9e43;p=oota-llvm.git Always pass -D_GNU_SOURCE to cc1plus git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18253 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvmc/cpp.in b/tools/llvmc/cpp.in index 0abc012c3c8..c3022652da5 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.