summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-01-06 21:54:47 +0100
committerMichał Górny <mgorny@gentoo.org>2018-01-06 21:59:31 +0100
commitb2cea88960f84014b4e7d58b2f8246fda86987d5 (patch)
treeb198dbc6401b4eca048859c21aaaad9635d29f9a /games-emulation/mupen64plus-ui-console
parentgames-rpg/lure: Migrate from LINGUAS to L10N. (diff)
downloadgentoo-b2cea88960f84014b4e7d58b2f8246fda86987d5.tar.gz
gentoo-b2cea88960f84014b4e7d58b2f8246fda86987d5.tar.bz2
gentoo-b2cea88960f84014b4e7d58b2f8246fda86987d5.zip
games-emulation/mupen64plus-ui-console: Remove -fno-PIE to fix build
Remove the Makefile code responsible for appending -fPIE/-fno-PIE to ensure that the compiler defaults are respected, and the package is built correctly and consistently. Closes: https://bugs.gentoo.org/622122
Diffstat (limited to 'games-emulation/mupen64plus-ui-console')
-rw-r--r--games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5.ebuild b/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5.ebuild
index f3b2fb7bfeaf..5f293ce409ee 100644
--- a/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5.ebuild
+++ b/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -28,6 +28,9 @@ src_prepare() {
# avoid implicitly appending CPU flags
sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
+
+ # avoid appending -fPIE/-fno-PIE
+ sed -i -e '/^if.*PIE/,/endif/d' projects/unix/Makefile || die
}
src_compile() {