[llvm-commits] CVS: llvm/tools/llvmc/cpp.in

Reid Spencer reid at x10sys.com
Thu Nov 25 11:39:02 PST 2004



Changes in directory llvm/tools/llvmc:

cpp.in updated: 1.1 -> 1.2
---
Log message:

Always pass -D_GNU_SOURCE to cc1plus

---
Diffs of the changes:  (+2 -1)

Index: llvm/tools/llvmc/cpp.in
diff -u llvm/tools/llvmc/cpp.in:1.1 llvm/tools/llvmc/cpp.in:1.2
--- llvm/tools/llvmc/cpp.in:1.1	Tue Nov 23 17:33:08 2004
+++ llvm/tools/llvmc/cpp.in	Thu Nov 25 13:38:51 2004
@@ -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.






More information about the llvm-commits mailing list