summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/libidn/PKGBUILD2
-rw-r--r--core/libunistring/PKGBUILD13
2 files changed, 14 insertions, 1 deletions
diff --git a/core/libidn/PKGBUILD b/core/libidn/PKGBUILD
index bb187f60..7abbc415 100644
--- a/core/libidn/PKGBUILD
+++ b/core/libidn/PKGBUILD
@@ -1,4 +1,4 @@
-# hotfix for FS$63334 (test crashes due to too agressive symbol elimination)
+# hotfix for FS#63334 (test crashes due to too agressive symbol elimination)
eval "$(
declare -f build | \
sed '
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"
+ '
+)"