aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-08-05 22:58:37 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-08-05 22:58:37 +0000
commiteac5dc5d5f9cf4308ae094b8fd43c121cebae368 (patch)
tree13024ed3e7113514e67d51b46068a6b37b1b3ba8
parentfa795299a47ba9a18fe64f8658bd385bcbf89673 (diff)
downloadpaludis-eac5dc5d5f9cf4308ae094b8fd43c121cebae368.tar.gz
paludis-eac5dc5d5f9cf4308ae094b8fd43c121cebae368.tar.xz
Explicitly check for visibility things in CXXFLAGS and LDFLAGS, since gcc 4.2.0 produces broken code if any of these options are enabled. Visibility support for Paludis must only be enabled via the appropriate configure options, not forced on by environment variables.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a581f82..b19febb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -424,7 +424,7 @@ dnl {{{ check for cxxflags
if test x = x"$LET_ME_RICE"
then
AC_MSG_CHECKING([for go faster stripes])
- for x in "enforce-eh" "fast-math" "rtti"
+ for x in "enforce-eh" "fast-math" "rtti" "visibility"
do
if echo "${LDFLAGS} ${CFLAGS} ${CXXFLAGS}" | grep "$x" >/dev/null ; then
AC_MSG_RESULT([$x])