Build with -D_GNU_SOURCE to enable gnu extensions in header files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner committed 2002-09-13 16:02:26 +00:00
1 parent ff7f701a95
commit 73e1d0f195
2 files changed
+6

No files matched your search

+3
View File
@@ -118,6 +118,9 @@ else
PROFILE =
endif
# Allow gnu extensions...
CPPFLAGS += -D_GNU_SOURCE
# -Wno-unused-parameter
CompileCommonOpts := $(PROFILE) -Wall -W -Wwrite-strings -Wno-unused -I$(LEVEL)/include