summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Jorna <wraeth@gentoo.org>2016-12-14 13:25:54 +1100
committerSam Jorna <wraeth@gentoo.org>2016-12-15 09:28:28 +1100
commite18eb3c31f350a35f1043decea2a220094bbce18 (patch)
tree97440f74a9eb72eac8bd8f1e04abe7aa4e168542 /sys-boot
parentsys-boot/refind: fix building with custom-cflags (diff)
downloadgentoo-e18eb3c31f350a35f1043decea2a220094bbce18.tar.gz
gentoo-e18eb3c31f350a35f1043decea2a220094bbce18.tar.bz2
gentoo-e18eb3c31f350a35f1043decea2a220094bbce18.zip
sys-boot/refind: revbump, disable build with PIE
Gentoo-bug: 598647 Acked-by: Stéphane Veyret <sveyret@gmail.com> Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/refind/refind-0.10.4-r2.ebuild (renamed from sys-boot/refind/refind-0.10.4-r1.ebuild)4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-boot/refind/refind-0.10.4-r1.ebuild b/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/' \