Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/binutils/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-05-12 08:09:11 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-05-12 08:09:11 +0200
commitaa25476ddd62d0858b9b9db89df901089e3d024b (patch)
tree5ea9dba14d804c8b93cc136cf466b8ee5df3829d /core/binutils/PKGBUILD
parent3d5ece893f85808c4b1a63df306e21d5fd97659e (diff)
core/binutils: testing a static PIE patch
Diffstat (limited to 'core/binutils/PKGBUILD')
-rw-r--r--core/binutils/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index 35c2db26..469392fc 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -4,3 +4,16 @@ eval "$(
s/--enable/--enable-64-bit-bfd \0/
'
)"
+
+# see https://sourceware.org/bugzilla/show_bug.cgi?id=22537
+# linking segfault in glibc
+
+source+=(elf32_hppa_static_pie.patch)
+md5sums+=('68e3ce93b66ddec6c36b5146df1ed713')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ /}/i patch -p1 -i "$srcdir/elf32_hppa_static_pie.patch"
+ '
+)"