[Libreoffice-commits] core.git: external/liborcus
Stephan Bergmann
sbergman at redhat.com
Tue Sep 20 07:59:40 UTC 2016
external/liborcus/UnpackedTarball_liborcus.mk | 1 +
external/liborcus/visibility.patch.0 | 11 +++++++++++
2 files changed, 12 insertions(+)
New commits:
commit ee0a0b840763df64ee8940697dbea69c6cccf5e9
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Sep 20 09:57:01 2016 +0200
external/liborcus: Let us override -fvisiblity=hidden
(needed by UBSan builds that use -fvisibility-ms-compat instead)
Change-Id: Ifabaf352cf2b9e77f9458eff46e240141f9e729d
diff --git a/external/liborcus/UnpackedTarball_liborcus.mk b/external/liborcus/UnpackedTarball_liborcus.mk
index 09b3c28..5d09d6d 100644
--- a/external/liborcus/UnpackedTarball_liborcus.mk
+++ b/external/liborcus/UnpackedTarball_liborcus.mk
@@ -16,6 +16,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,liborcus,1))
$(eval $(call gb_UnpackedTarball_add_patches,liborcus,\
external/liborcus/0001-workaround-a-linking-problem-on-windows.patch \
external/liborcus/rpath.patch.0 \
+ external/liborcus/visibility.patch.0 \
))
ifeq ($(OS),WNT)
diff --git a/external/liborcus/visibility.patch.0 b/external/liborcus/visibility.patch.0
new file mode 100644
index 0000000..c9c53a9
--- /dev/null
+++ b/external/liborcus/visibility.patch.0
@@ -0,0 +1,11 @@
+--- configure
++++ configure
+@@ -4255,7 +4255,7 @@
+
+ fi
+
+-CXXFLAGS="$CXXFLAGS -fvisibility=hidden -Wall -pthread"
++CXXFLAGS="-fvisibility=hidden $CXXFLAGS -Wall -pthread"
+
+ # ===========================
+ # Find required base packages
More information about the Libreoffice-commits
mailing list