Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 43247
Collapse All | Expand All

(-)/usr/portage/sys-boot/lilo/lilo-22.5.8-r1.ebuild (-2 / +4 lines)
Lines 2-7 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /home/cvsroot/gentoo-x86/sys-boot/lilo/lilo-22.5.8-r1.ebuild,v 1.5 2004/02/08 13:48:40 azarah Exp $
3
# $Header: /home/cvsroot/gentoo-x86/sys-boot/lilo/lilo-22.5.8-r1.ebuild,v 1.5 2004/02/08 13:48:40 azarah Exp $
4
4
5
IUSE="hardened"
6
5
inherit mount-boot eutils
7
inherit mount-boot eutils
6
8
7
S="${WORKDIR}/${P}"
9
S="${WORKDIR}/${P}"
Lines 49-56 Link Here
49
}
51
}
50
52
51
src_compile() {
53
src_compile() {
52
	# add the hardened-gcc compiler flag for building its assembler parts ;-)
54
	# add the hardened gcc compiler flag for building its assembler parts ;-)
53
	if has_version 'sys-devel/hardened-gcc'
55
	if [ -n "`use hardened`" ] || has_version 'sys-devel/hardened-gcc'
54
	then
56
	then
55
		export CC="${CC:=gcc} -yet_exec"
57
		export CC="${CC:=gcc} -yet_exec"
56
		find ${W} -type f -name "Makefile" -exec sed -i "s:CC=cc:CC=${CC}:" {} \;
58
		find ${W} -type f -name "Makefile" -exec sed -i "s:CC=cc:CC=${CC}:" {} \;

Return to bug 43247