[llvm-commits] CVS: llvm/Makefile.common

Chris Lattner lattner at cs.uiuc.edu
Fri Sep 13 11:03:00 PDT 2002


Changes in directory llvm:

Makefile.common updated: 1.44 -> 1.45

---
Log message:

Build with -D_GNU_SOURCE to enable gnu extensions in header files



---
Diffs of the changes:

Index: llvm/Makefile.common
diff -u llvm/Makefile.common:1.44 llvm/Makefile.common:1.45
--- llvm/Makefile.common:1.44	Thu Sep 12 12:02:40 2002
+++ llvm/Makefile.common	Fri Sep 13 11:02:26 2002
@@ -118,6 +118,9 @@
 PROFILE =
 endif
 
+# Allow gnu extensions...
+CPPFLAGS += -D_GNU_SOURCE
+
 # -Wno-unused-parameter
 CompileCommonOpts := $(PROFILE) -Wall -W  -Wwrite-strings -Wno-unused -I$(LEVEL)/include
 





More information about the llvm-commits mailing list