summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}
+ }
+ '
+)"