aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf/configure.ac
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-08-30 01:16:19 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-08-30 01:16:19 +0000
commitd9e5d8b5bb920ad7b797f2722680866e7a63838c (patch)
treefab38965d9c4d650460254a0174d61916f173d49 /autoconf/configure.ac
parentf88771c93c4d87b14a17316b9f051d7c1da1163b (diff)
downloadexternal_llvm-d9e5d8b5bb920ad7b797f2722680866e7a63838c.zip
external_llvm-d9e5d8b5bb920ad7b797f2722680866e7a63838c.tar.gz
external_llvm-d9e5d8b5bb920ad7b797f2722680866e7a63838c.tar.bz2
Enable -fvisibility-inlines-hidden by default for compilers which
support it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r--autoconf/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index ca160d1..35d017e 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -975,6 +975,8 @@ if test "$binding_prereqs_failed" = 1 ; then
AC_MSG_ERROR([Prequisites for bindings not satisfied. Fix them or use configure --disable-bindings.])
fi
+dnl Determine if the compiler supports -fvisibility-inlines-hidden.
+AC_CXX_USE_VISIBILITY_INLINES_HIDDEN
dnl===-----------------------------------------------------------------------===
dnl===