external/liborcus: Let us override -fvisiblity=hidden
(needed by UBSan builds that use -fvisibility-ms-compat instead) Change-Id: Ifabaf352cf2b9e77f9458eff46e240141f9e729d
This commit is contained in:
@@ -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)
|
||||
|
11
external/liborcus/visibility.patch.0
vendored
Normal file
11
external/liborcus/visibility.patch.0
vendored
Normal file
@@ -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
|
Reference in New Issue
Block a user