libgcc: Maintain the same visibility as older GCC for now. Needed

because the static library is included in libroot.so.
This commit is contained in:
Jérôme Duval 2014-01-26 17:46:36 +01:00
parent 19d03df1eb
commit f34aded965

View File

@ -365,10 +365,16 @@ ifeq ($(enable_shared),yes)
endif
endif
ifneq ($(enable_shared),yes)
# Maintain the same visibility as older GCC for now. Needed on Haiku
# because the static library is included in libroot.so.
vis_hide =
else
# For -fvisibility=hidden. We need both a -fvisibility=hidden on
# the command line, and a #define to prevent libgcc2.h etc from
# overriding that with #pragmas.
vis_hide = @vis_hide@
endif
ifneq (,$(vis_hide))