Commit 0a5e9d90e74605f997c98a4724f6c72f9d380982

Ran Benita 2012-10-26T14:43:15

configure.ac: don't tramp on user's CFLAGS The configure test shouldn't touch CFLAGS, because they come last on the command line and allow to users to override settings if needed. Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/configure.ac b/configure.ac
index 46ef469..7981e34 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,7 +72,7 @@ fi
 
 AC_CHECK_FUNCS([eaccess euidaccess])
 
-XORG_TESTSET_CFLAG([CFLAGS], [-fvisibility=hidden])
+XORG_TESTSET_CFLAG([BASE_CFLAGS], [-fvisibility=hidden])
 
 # Define a configuration option for the XKB config root
 xkb_base=`$PKG_CONFIG --variable=xkb_base xkeyboard-config`