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:
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}
+ }
+ '
+)"