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

Reid Spencer reid at x10sys.com
Thu Nov 25 11:38:50 PST 2004



Changes in directory llvm/tools/llvmc:

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

Always pass -D_GNU_SOURCE to cc1

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

Index: llvm/tools/llvmc/c.in
diff -u llvm/tools/llvmc/c.in:1.1 llvm/tools/llvmc/c.in:1.2
--- llvm/tools/llvmc/c.in:1.1	Tue Nov 23 17:33:08 2004
+++ llvm/tools/llvmc/c.in	Thu Nov 25 13:38:39 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=@LLVMCC1@ -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.
@@ -61,4 +62,4 @@
 ##########################################################
 # Assembler definitions
 ##########################################################
-  assembler.command=llc %in% -o %out% %target% %time% %stats%
+  assembler.command=@LLVM_BINDIR@/llc %in% -o %out% %target% %time% %stats%






More information about the llvm-commits mailing list