Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/libidn/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-08-02 17:17:07 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-08-02 17:17:07 +0200
commit665824173758809cc0010d8b6684b7f6b4e738bd (patch)
treed9a539d99ee79ae37ec5813c38097375b1d5aecc /core/libidn/PKGBUILD
parent181909b86791a0fd88ef2f317ecf7d8a989a6b0b (diff)
core/libidn: temporary fix for FS#63334 (failing tests due to missing symbols
Diffstat (limited to 'core/libidn/PKGBUILD')
-rw-r--r--core/libidn/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/libidn/PKGBUILD b/core/libidn/PKGBUILD
new file mode 100644
index 00000000..bb187f60
--- /dev/null
+++ b/core/libidn/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"
+ '
+)"