$NetBSD$ Support for SunOS/gcc. --- a/make/common/modules/LauncherCommon.gmk.orig 2019-01-08 09:40:28.000000000 +0000 +++ b/make/common/modules/LauncherCommon.gmk @@ -37,7 +37,9 @@ endif # Also provide an override for non-conformant libraries. ifeq ($(TOOLCHAIN_TYPE), gcc) LAUNCHER_CFLAGS += -fvisibility=hidden + ifneq ($(OPENJDK_TARGET_OS), solaris) LDFLAGS_JDKEXE += -Wl,--exclude-libs,ALL + endif else ifeq ($(TOOLCHAIN_TYPE), clang) LAUNCHER_CFLAGS += -fvisibility=hidden endif