diff options
Diffstat (limited to 'sys-apps/lilo/lilo-22.5.1.ebuild')
-rw-r--r-- | sys-apps/lilo/lilo-22.5.1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-apps/lilo/lilo-22.5.1.ebuild b/sys-apps/lilo/lilo-22.5.1.ebuild index 5bae9ba14d85..a66187b67ecd 100644 --- a/sys-apps/lilo/lilo-22.5.1.ebuild +++ b/sys-apps/lilo/lilo-22.5.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lilo/lilo-22.5.1.ebuild,v 1.9 2003/08/05 19:52:09 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lilo/lilo-22.5.1.ebuild,v 1.10 2003/09/06 16:20:00 pappy Exp $ inherit mount-boot eutils @@ -36,6 +36,12 @@ src_unpack() { src_compile() { [ -z "${CC}" ] && CC="gcc" + # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml + # lilo and grub have broken CFLAGS behaviour + if has_version 'sys-devel/hardened-gcc' && [ ${CC} = "gcc" ]; then + CC="${CC} -yet_exec" + fi + emake CC="${CC}" OPT="-O1" || die } |