--- a/make/lib/LibCommon.gmk Mon Sep 24 10:41:41 2018 -0700
+++ b/make/lib/LibCommon.gmk Mon Sep 24 20:45:06 2018 +0200
@@ -46,11 +46,9 @@
LDFLAGS_JDKLIB += -Wl,--exclude-libs,ALL
EXPORT_ALL_SYMBOLS := -fvisibility=default
else ifeq ($(TOOLCHAIN_TYPE), clang)
- ifneq ($(OPENJDK_TARGET_OS), macosx)
- CFLAGS_JDKLIB += -fvisibility=hidden
- CXXFLAGS_JDKLIB += -fvisibility=hidden
- EXPORT_ALL_SYMBOLS := -fvisibility=default
- endif
+ CFLAGS_JDKLIB += -fvisibility=hidden
+ CXXFLAGS_JDKLIB += -fvisibility=hidden
+ EXPORT_ALL_SYMBOLS := -fvisibility=default
else ifeq ($(TOOLCHAIN_TYPE), solstudio)
CFLAGS_JDKLIB += -xldscope=hidden
CXXFLAGS_JDKLIB += -xldscope=hidden