From ec5f5f0f8a1d5b3ff98452175bb4450a59897620 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 13 Jul 2012 10:00:42 -0400 Subject: [PATCH] Don't export inline methods --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 0e2bbf626..acfc2ea6c 100644 --- a/configure.ac +++ b/configure.ac @@ -66,6 +66,9 @@ if test "x$GCC" = "xyes"; then # Make sure we don't link to libstdc++ CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions" + # Hide inline methods + CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden" + case "$host" in arm-*-*) # Request byte alignment on arm