use -fvisibility=hidden
authorMatthias Braun <matze@braunis.de>
Thu, 20 May 2010 12:54:45 +0000 (12:54 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 20 May 2010 12:54:45 +0000 (12:54 +0000)
[r27565]

configure.ac

index 9404888..91b68f0 100644 (file)
@@ -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 ===============