configure.ac: don't tramp on user's CFLAGS
authorRan Benita <ran234@gmail.com>
Fri, 26 Oct 2012 12:43:15 +0000 (14:43 +0200)
committerRan Benita <ran234@gmail.com>
Fri, 26 Oct 2012 12:43:15 +0000 (14:43 +0200)
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>
configure.ac

index 46ef469..7981e34 100644 (file)
@@ -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`