summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/llvmc/cpp.in3
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.