projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1738d5f
)
build: Ensure user-set CFLAGS override defaults
author
Henrique Dante de Almeida
<hdante@gmail.com>
Sun, 13 Jan 2013 14:58:12 +0000
(12:58 -0200)
committer
Colin Walters
<walters@verbum.org>
Sun, 13 Jan 2013 15:47:25 +0000
(10:47 -0500)
For example, the user should be able disable our default -Werror
settings.
https://bugzilla.gnome.org/show_bug.cgi?id=691608
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
b7d5d45
..
5cb21df
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-3573,7
+3573,7
@@
CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
-Werror=missing-prototypes -Werror=implicit-function-declaration \
-Werror=pointer-arith -Werror=init-self -Werror=format-security \
-Werror=format=2 -Werror=missing-include-dirs])
-CFLAGS="$
CFLAGS $with_cflags
"
+CFLAGS="$
with_cflags $CFLAGS
"
#
# Define variables corresponding to the correct include paths to use for