--- sys-apps/kexec-tools/kexec-tools-2.0.1.ebuild 2010-01-10 09:57:10.000000000 +0000 +++sys-apps/kexec-tools/kexec-tools-2.0.1.ebuild 2010-07-16 00:08:06.000000000 +0000 @@ -4,7 +4,7 @@ EAPI=2 -inherit eutils +inherit eutils flag-o-matic DESCRIPTION="Load another kernel from the currently executing Linux kernel" HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools" @@ -22,6 +22,12 @@ #epatch "${FILESDIR}/${PN}-2.0.0-asneeded.patch" epatch "${FILESDIR}/${PN}-2.0.0-respect-LDFLAGS.patch" + + # To disable the -fPIE -pie in the hardened compiler + if gcc-specs-pie ; then + filter-flags -fPIE + append-ldflags -nopie + fi } src_configure() {