swi-prolog: update to 9.2.9
[oi-userland.git] / components / runtime / openjdk-18 / patches / patch-make_launcher_LauncherCommon.gmk.patch
blobc67e93a35988682df6b811432bd68eb8081b7f1a
1 $NetBSD$
3 Support for SunOS/gcc.
5 --- orig/make/common/modules/LauncherCommon.gmk 2019-01-08 09:40:28.000000000 +0000
6 +++ new/make/common/modules/LauncherCommon.gmk
7 @@ -37,7 +37,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 LAUNCHER_CFLAGS += -fvisibility=hidden
16 endif