rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / runtime / openjdk-22 / patches / make_lib_LibCommon.gmk.patch
blob46d3a6e94e694032755d658a6765c26cefcdd485
1 $NetBSD$
3 Support SunOS/gcc.
5 --- a/make/common/modules/LibCommon.gmk.orig 2019-01-08 09:40:28.000000000 +0000
6 +++ b/make/common/modules/LibCommon.gmk
7 @@ -40,7 +40,9 @@ 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 + endif
14 else ifeq ($(TOOLCHAIN_TYPE), clang)
15 CFLAGS_JDKLIB += -fvisibility=hidden
16 CXXFLAGS_JDKLIB += -fvisibility=hidden