projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Build with -D_GNU_SOURCE to enable gnu extensions in header files
[oota-llvm.git]
/
Makefile.common
diff --git
a/Makefile.common
b/Makefile.common
index 2415e887a3151dab47426c6508dde10ddfa34d65..029c2c987a5814e5254d30acbb71311f6b91a0f6 100644
(file)
--- 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