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

(-)file_not_specified_in_diff (-4 / +10 lines)
Line 68 Link Here
68
	# Fix CFLAGS for sysvinit stuff
68
	# Fix CHOST for crosscompile
69
--
69
	cd ${S}/src
70
	cp Makefile Makefile.orig
71
	sed -e "s:CC = gcc:CC = ${CHOST}-gcc:" Makefile.orig |
72
	sed -e "s:LD = gcc:LD = ${CHOST}-gcc:" \
73
		>Makefile || die
74
75
	# Fix CFLAGS for sysvinit stuff and CHOST for crosscompile
Line 71 Link Here
71
	sed -e "s:-O2:${CFLAGS}:" Makefile.orig >Makefile || die
78
	sed -e "s:-O2:${CFLAGS}:" Makefile.orig | sed -e "s:CC\t= cc:CC\t= ${CHOST}-gcc:" \
72
--
79
		>Makefile || die

Return to bug 17233