Don't export inline methods

This commit is contained in:
Behdad Esfahbod 2012-07-13 10:00:42 -04:00
parent 50a4e78b53
commit ec5f5f0f8a
1 changed files with 3 additions and 0 deletions

View File

@ -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