summaryrefslogtreecommitdiff
path: root/expat
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2013-03-31 16:41:05 -0400
committerPeter Foley <pefoley2@verizon.net>2013-03-31 21:28:38 -0400
commit9ff0ee4905068cbc85acf85da1b3ef762b324ed7 (patch)
tree8ad2a9dc8ad06e8fc2ea2ded38efe588280cc243 /expat
parentbb52f5b2bf6613a18d6c035058bc2a049a9da7bc (diff)
fix gold warning about hidden symbols
Change-Id: Iae399e4d596db450e3ed0e15678e546aa76797a0
Diffstat (limited to 'expat')
-rw-r--r--expat/StaticLibrary_expat.mk1
1 files changed, 1 insertions, 0 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,\