perl/Test-Simple: update to 1.302205
[oi-userland.git] / components / runtime / openjdk-11 / patches / make_lib_LibCommon.gmk.patch
blob539e01c8ffe85e77b67e39f24c6b71aa2534a4f3
1 $NetBSD$
3 Support SunOS/gcc.
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
14 + endif
15 else ifeq ($(TOOLCHAIN_TYPE), clang)
16 ifneq ($(OPENJDK_TARGET_OS), macosx)
17 CFLAGS_JDKLIB += -fvisibility=hidden