summaryrefslogtreecommitdiff
path: root/expat
diff options
context:
space:
mode:
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,\