[glib] build: Ensure user-set CFLAGS override defaults
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] build: Ensure user-set CFLAGS override defaults
- Date: Sun, 13 Jan 2013 15:48:41 +0000 (UTC)
commit 0864e3bd6fc17bab3f60b6f0e240efb44b6b5d43
Author: Henrique Dante de Almeida <hdante gmail com>
Date: Sun Jan 13 12:58:12 2013 -0200
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
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b7d5d45..5cb21df 100644
--- 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]