Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/elfutils/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-28 21:38:47 +0200
committerErich Eckner <git@eckner.net>2017-08-28 21:39:14 +0200
commit25455e659a2766e867d044d83dc4eb7319a73997 (patch)
treec9abff652b70ff88bcc0b79cf65c7b73a7e854e8 /core/elfutils/PKGBUILD
parent4120aefd67048ed2e5bce7caf43e83d88a8165f1 (diff)
core/elfutils: remove -fno-plt
Diffstat (limited to 'core/elfutils/PKGBUILD')
-rw-r--r--core/elfutils/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/elfutils/PKGBUILD b/core/elfutils/PKGBUILD
new file mode 100644
index 00000000..946c7001
--- /dev/null
+++ b/core/elfutils/PKGBUILD
@@ -0,0 +1,10 @@
+eval "$(
+ declare -f build | \
+ sed '
+ /^\s*CFLAGS+=/{
+ a\
+ export CFLAGS=${CFLAGS/-fno-plt}\
+ export CXXFLAGS=${CXXFLAGS/-fno-plt}
+ }
+ '
+)"