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 2002-09-13 16:02:26 +00:00
parent ff7f701a95
commit 73e1d0f195
2 changed files with 6 additions and 0 deletions

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

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