summaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-05-20 14:54:45 +0200
committerMatthias Braun <matze@braunis.de>2010-05-20 14:54:45 +0200
commitd9623a107e399a20863f12534fea3020772e2179 (patch)
treedbf0f7f28879d28f267a7ffa00d45d4306ce47f4 /configure.ac
parentc021732d2f0c04113e6afd153a7a9be38e40ca6f (diff)
use -fvisibility=hidden
[r27565]
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9404888..91b68f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,9 @@ dnl keep track of the environment set by the user
libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS -lm'}"
AC_SUBST(libfirm_conf_env)
+dnl enable visibility hidden
+CFLAGS="-fvisibility=hidden"
+
dnl Package options
dnl ===============