diff options
author | Peter Foley <pefoley2@verizon.net> | 2013-03-31 16:41:05 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2013-03-31 21:28:38 -0400 |
commit | 9ff0ee4905068cbc85acf85da1b3ef762b324ed7 (patch) | |
tree | 8ad2a9dc8ad06e8fc2ea2ded38efe588280cc243 | |
parent | bb52f5b2bf6613a18d6c035058bc2a049a9da7bc (diff) |
fix gold warning about hidden symbols
Change-Id: Iae399e4d596db450e3ed0e15678e546aa76797a0
-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: |