summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-12-08 20:37:26 -0500
committerGaetan Nadon <memsize@videotron.ca>2010-12-18 11:19:56 -0500
commitbf9fdceef63507da889a22eb1a583d2b6376f5ea (patch)
treee9253525caddd0dfc5d79d2289e91b596d9eb298
parentec3fbfdf6dd53e531c53b79f634ed89cd4e776f5 (diff)
downloadxorg-lib-libxkbcommon-bf9fdceef63507da889a22eb1a583d2b6376f5ea.tar.gz
config: remove incorrectly implemented visibility compiler option
CFLAGS is a user variable which should never be set by the configuration. It allows the user to alter the configuration compiler options. The visibility is only set for GNU compiler, leaving libraries built with other compilers with the wrong visibility. All other xorg libraries set visibilty using _X_EXPORT or _X_HIDDEN. For the time being, all the symbols will have the default visibility which does not break anything. Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--configure.ac4
1 files changed, 0 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 4fa9ea7..b982839 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,10 +65,6 @@ if test "x$CC_FOR_BUILD" = x; then
fi
fi
-if test "x$GCC" = xyes ; then
- CFLAGS="$CFLAGS -fvisibility=hidden"
-fi
-
# Obtain protocols headers include directives
PKG_CHECK_MODULES([X11], [xproto kbproto >= 1.0.5])