Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/libunistring/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-09-14 13:57:41 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-09-14 13:57:41 +0200
commitc3907019a1a9a3cd0ccd8a1e78e7ff6c4294ac28 (patch)
treedf22bb7b5f6626bc9a82f4d99a7ed66dd5ca186e /core/libunistring/PKGBUILD
parentd398ef220768b74038625196be7de7b573acc556 (diff)
core/libunistring: another gthread weak symbol error
Diffstat (limited to 'core/libunistring/PKGBUILD')
-rw-r--r--core/libunistring/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
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"
+ '
+)"