mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
build: Ensure user-set CFLAGS override defaults
For example, the user should be able disable our default -Werror settings. https://bugzilla.gnome.org/show_bug.cgi?id=691608
This commit is contained in:
parent
1738d5f1ef
commit
0864e3bd6f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user