mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 15:29:11 +01:00
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:
parent
19d03df1eb
commit
f34aded965
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user