5 --- a/make/common/modules/LibCommon.gmk.orig 2019-01-08 09:40:28.000000000 +0000
6 +++ b/make/common/modules/LibCommon.gmk
7 @@ -40,7 +40,9 @@ WIN_JAVA_LIB := $(SUPPORT_OUTPUTDIR)/nat
8 ifeq ($(TOOLCHAIN_TYPE), gcc)
9 CFLAGS_JDKLIB += -fvisibility=hidden
10 CXXFLAGS_JDKLIB += -fvisibility=hidden
11 + ifneq ($(OPENJDK_TARGET_OS), solaris)
12 LDFLAGS_JDKLIB += -Wl,--exclude-libs,ALL
14 else ifeq ($(TOOLCHAIN_TYPE), clang)
15 CFLAGS_JDKLIB += -fvisibility=hidden
16 CXXFLAGS_JDKLIB += -fvisibility=hidden