diff options
-rw-r--r-- | Makefile.common | 3 | ||||
-rw-r--r-- | Makefile.rules | 3 |
2 files changed, 6 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 diff --git a/Makefile.rules b/Makefile.rules index 2415e887a3..029c2c987a 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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 |