5 --- a/make/lib/LibCommon.gmk.orig 2019-01-08 09:40:28.000000000 +0000
6 +++ b/make/lib/LibCommon.gmk
7 @@ -43,8 +43,10 @@ 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
13 EXPORT_ALL_SYMBOLS := -fvisibility=default
15 else ifeq ($(TOOLCHAIN_TYPE), clang)
16 ifneq ($(OPENJDK_TARGET_OS), macosx)
17 CFLAGS_JDKLIB += -fvisibility=hidden