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