--- lilo-22.5.8-r1.ebuild 2003-11-07 19:41:22.000000000 +0100 +++ lilo-22.5.8-r1.ebuild.new 2003-11-11 17:20:53.000000000 +0100 @@ -47,7 +47,12 @@ src_compile() { # Do not use custom CFLAGS for stability reasons + if has_version 'sys-devel/hardened-gcc' + then + find ${W} -type f -name "Makefile" -exec sed -i "s:CC=cc:CC=${CC} -yet_exec:" {} \; + fi + emake CC="${CC:=gcc}" lilo || die } src_install() {