summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuben Van Boxem2017-07-23 13:41:00 +0200
committerRuben Van Boxem2017-07-23 13:41:00 +0200
commit9d13031e7f3c1a89f841e58a98a685f4dbc724d5 (patch)
tree9c64064ae36557bb1d257694286d226a13c51a45
parent23a882b1c3a473faf2dc2d0cf06ad694dc3bae96 (diff)
downloadaur-9d13031e7f3c1a89f841e58a98a685f4dbc724d5.tar.gz
remove -fno-plt option recently added in makepkg.conf
-rw-r--r--PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f5e41f4df1a..f205e5b2bfb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -54,6 +54,10 @@ build() {
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
CFLAGS=${CFLAGS/-pipe/}
CXXFLAGS=${CXXFLAGS/-pipe/}
+
+ # GCC 4.9 doesn't understand -fno-plt
+ CFLAGS=${CFLAGS/-fno-plt/}
+ CXXFLAGS=${CXXFLAGS/-fno-plt/}
${srcdir}/${_basedir}/configure --prefix=/usr \
--build=${CHOST} \