From: Sam Jorna Date: Wed, 14 Dec 2016 02:25:54 +0000 (+1100) Subject: sys-boot/refind: revbump, disable build with PIE X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e18eb3c31f350a35f1043decea2a220094bbce18;p=gentoo.git sys-boot/refind: revbump, disable build with PIE Gentoo-bug: 598647 Acked-by: Stéphane Veyret Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- diff --git a/sys-boot/refind/refind-0.10.4-r1.ebuild b/sys-boot/refind/refind-0.10.4-r2.ebuild similarity index 98% rename from sys-boot/refind/refind-0.10.4-r1.ebuild rename to sys-boot/refind/refind-0.10.4-r2.ebuild index af45a9990a42..b4277644b17a 100644 --- a/sys-boot/refind/refind-0.10.4-r1.ebuild +++ b/sys-boot/refind/refind-0.10.4-r2.ebuild @@ -54,6 +54,10 @@ pkg_setup() { src_prepare() { default + + # bug 598647 - PIE not supported + sed -e 's:CFLAGS =:& -fno-PIE:' -i "${S}/Make.common" || die + local f for f in "${S}"/*/Make.tiano "${S}"/Make.common; do sed -i -e 's/^\(include .*target.txt.*\)$/#\1/' \