fix gold warning about hidden symbols

Change-Id: Iae399e4d596db450e3ed0e15678e546aa76797a0
This commit is contained in:
Peter Foley
2013-03-31 16:41:05 -04:00
parent bb52f5b2bf
commit 9ff0ee4905
2 changed files with 1 additions and 3 deletions

View File

@@ -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,\

View File

@@ -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: