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>
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`