[Libreoffice-commits] core.git: expat/StaticLibrary_expat.mk openssl/ExternalProject_openssl.mk

Peter Foley pefoley2 at verizon.net
Sun Mar 31 18:27:46 PDT 2013


 expat/StaticLibrary_expat.mk       |    1 +
 openssl/ExternalProject_openssl.mk |    3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 9ff0ee4905068cbc85acf85da1b3ef762b324ed7
Author: Peter Foley <pefoley2 at verizon.net>
Date:   Sun Mar 31 16:41:05 2013 -0400

    fix gold warning about hidden symbols
    
    Change-Id: Iae399e4d596db450e3ed0e15678e546aa76797a0

diff --git a/expat/StaticLibrary_expat.mk b/expat/StaticLibrary_expat.mk
index 2f75452..1c02e02 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 010d2ca..aa5492f 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:


More information about the Libreoffice-commits mailing list