From 25455e659a2766e867d044d83dc4eb7319a73997 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 28 Aug 2017 21:38:47 +0200 Subject: core/elfutils: remove -fno-plt --- core/elfutils/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 core/elfutils/PKGBUILD (limited to 'core/elfutils/PKGBUILD') 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} + } + ' +)" -- cgit v1.2.3-70-g09d2