diff options
author | Chris Lattner <sabre@nondot.org> | 2002-09-13 16:02:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-09-13 16:02:26 +0000 |
commit | 73e1d0f1958a4ba8770c5d114b7067f5add4c86c (patch) | |
tree | 3b6f7c70da95c4561006c4aaa940705ee6c163e6 /Makefile.common | |
parent | ff7f701a95cc88bd107de6b9082e398106482111 (diff) |
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
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index 2415e887a3..029c2c987a 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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 |