5 --- a/make/launcher/Launcher-jdk.pack.gmk.orig 2019-01-08 09:40:27.000000000 +0000
6 +++ b/make/launcher/Launcher-jdk.pack.gmk
7 @@ -43,7 +43,9 @@ $(eval $(call SetupBuildLauncher, pack20
8 # Also provide an override for non-conformant libraries.
9 ifeq ($(TOOLCHAIN_TYPE), gcc)
10 CXXFLAGS_JDKEXE += -fvisibility=hidden
11 + ifeq ($(call isTargetOs, solaris), false)
12 LDFLAGS_JDKEXE += -Wl,--exclude-libs,ALL
14 else ifeq ($(TOOLCHAIN_TYPE), clang)
15 ifeq ($(call isTargetOs, macosx), false)
16 CXXFLAGS_JDKEXE += -fvisibility=hidden