diff options
-rw-r--r-- | expat/StaticLibrary_expat.mk | 1 | ||||
-rw-r--r-- | openssl/ExternalProject_openssl.mk | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/expat/StaticLibrary_expat.mk b/expat/StaticLibrary_expat.mk index 2f754526b6e9..1c02e029a6d0 100644 --- a/expat/StaticLibrary_expat.mk +++ b/expat/StaticLibrary_expat.mk @@ -45,6 +45,7 @@ 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 010d2ca94c50..aa5492f3da32 100644 --- a/openssl/ExternalProject_openssl.mk +++ b/openssl/ExternalProject_openssl.mk @@ -60,9 +60,6 @@ $(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: |