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

(-)./hdparm-9.45.ebuild.orig (+5 lines)
Lines 21-26 Link Here
21
		-e "/^CFLAGS/ s:-O2:${CFLAGS}:" \
21
		-e "/^CFLAGS/ s:-O2:${CFLAGS}:" \
22
		-e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \
22
		-e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \
23
		Makefile || die "sed"
23
		Makefile || die "sed"
24
	
25
	# clang does not know about this gcc parameter
26
	if [[ "tc-getCC()" == "clang" ]] ; then
27
		sed -i -e "/^CFLAGS/ s:-fkeep-inline-functions::" Makefile || die "sed clang failed"
28
	fi
24
}
29
}
25
30
26
src_compile() {
31
src_compile() {

Return to bug 527274