diff options
author | Erich Eckner <git@eckner.net> | 2017-08-28 21:38:47 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-28 21:39:14 +0200 |
commit | 25455e659a2766e867d044d83dc4eb7319a73997 (patch) | |
tree | c9abff652b70ff88bcc0b79cf65c7b73a7e854e8 /core/elfutils | |
parent | 4120aefd67048ed2e5bce7caf43e83d88a8165f1 (diff) | |
download | packages-25455e659a2766e867d044d83dc4eb7319a73997.tar.xz |
core/elfutils: remove -fno-plt
Diffstat (limited to 'core/elfutils')
-rw-r--r-- | core/elfutils/PKGBUILD | 10 |
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} + } + ' +)" |