diff options
-rw-r--r-- | expat/StaticLibrary_expat.mk | 1 | ||||
-rw-r--r-- | openssl/ExternalProject_openssl.mk | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/expat/StaticLibrary_expat.mk b/expat/StaticLibrary_expat.mk index 1c02e029a6d0..2f754526b6e9 100644 --- a/expat/StaticLibrary_expat.mk +++ b/expat/StaticLibrary_expat.mk @@ -45,7 +45,6 @@ endif # suppress warning spam $(eval $(call gb_StaticLibrary_add_cflags,expat,\ -w \ - $(if $(filter GCC,$(COM)),-fvisibility=default) \ )) $(eval $(call gb_StaticLibrary_add_generated_cobjects,expat,\ diff --git a/openssl/ExternalProject_openssl.mk b/openssl/ExternalProject_openssl.mk index 87397fe9715c..ed99fe5013c4 100644 --- a/openssl/ExternalProject_openssl.mk +++ b/openssl/ExternalProject_openssl.mk @@ -85,6 +85,9 @@ $(call gb_ExternalProject_get_state_target,openssl,build): $(if $(SYSBASE),-I$(SYSBASE)/usr/include -L$(SYSBASE)/usr/lib)))) \ $(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \ && $(MAKE) build_libs \ + CC="$(CC) $(if $(filter-out WNT,$(OS)),\ + $(if $(filter TRUE,$(HAVE_GCC_VISIBILITY_FEATURE)),\ + -fvisibility=hidden))" \ ) endif # vim: set noet sw=4 ts=4: |