From c3907019a1a9a3cd0ccd8a1e78e7ff6c4294ac28 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 14 Sep 2019 13:57:41 +0200 Subject: core/libunistring: another gthread weak symbol error --- core/libunistring/PKGBUILD | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 core/libunistring/PKGBUILD (limited to 'core/libunistring') diff --git a/core/libunistring/PKGBUILD b/core/libunistring/PKGBUILD new file mode 100644 index 00000000..7abbc415 --- /dev/null +++ b/core/libunistring/PKGBUILD @@ -0,0 +1,13 @@ +# hotfix for FS#63334 (test crashes due to too agressive symbol elimination) +eval "$( + declare -f build | \ + sed ' + /configure/ i \ + export LDFLAGS="-Wl,-O1,--sort-common,-z,relro,-z,now" + ' + declare -f check | \ + sed ' + /make/ i \ + export LDFLAGS="-Wl,-O1,--sort-common,-z,relro,-z,now" + ' +)" -- cgit v1.2.3-70-g09d2