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

(-)/usr/portage/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild (-2 / +2 lines)
Lines 47-60 Link Here
47
}
47
}
48
48
49
src_compile() {
49
src_compile() {
50
	tc-export CC CXX
51
50
	./configure --prefix=/usr || die
52
	./configure --prefix=/usr || die
51
53
52
	sed -i \
54
	sed -i \
53
		-e "s:-pipe -O2:${CFLAGS}:" \
55
		-e "s:-pipe -O2:${CFLAGS}:" \
54
		-e "s:^\(LDFLAGS=\).*:\1${LDFLAGS}:" \
56
		-e "s:^\(LDFLAGS=\).*:\1${LDFLAGS}:" \
55
		-e "s:-Wpointer-arith::" \
57
		-e "s:-Wpointer-arith::" \
56
		-e "s:^CC=.*:CC=$(tc-getCC):" \
57
		-e "s:^CXX=.*:CXX=$(tc-getCXX):" \
58
		MCONFIG || die
58
		MCONFIG || die
59
59
60
	emake || die
60
	emake || die

Return to bug 446968