5 --- a/make/launcher/LauncherCommon.gmk.orig 2019-01-08 09:40:28.000000000 +0000
6 +++ b/make/launcher/LauncherCommon.gmk
7 @@ -44,7 +44,9 @@ endif
8 # Also provide an override for non-conformant libraries.
9 ifeq ($(TOOLCHAIN_TYPE), gcc)
10 LAUNCHER_CFLAGS += -fvisibility=hidden
11 + ifneq ($(OPENJDK_TARGET_OS), solaris)
12 LDFLAGS_JDKEXE += -Wl,--exclude-libs,ALL
14 else ifeq ($(TOOLCHAIN_TYPE), clang)
15 ifneq ($(OPENJDK_TARGET_OS), macosx)
16 LAUNCHER_CFLAGS += -fvisibility=hidden