diff options
-rw-r--r-- | llvm/tools/llvmc/cpp.in | 3 |
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. |