Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 566496 | Differences between
and this patch

Collapse All | Expand All

(-)eclass/kernel-2.eclass (-1 / +3 lines)
Lines 642-648 compile_headers() { Link Here
642
642
643
	# if we couldnt obtain HOSTCFLAGS from the Makefile,
643
	# if we couldnt obtain HOSTCFLAGS from the Makefile,
644
	# then set it to something sane
644
	# then set it to something sane
645
	local HOSTCFLAGS=$(getfilevar HOSTCFLAGS "${S}"/Makefile)
645
	# local HOSTCFLAGS=$(getfilevar HOSTCFLAGS "${S}"/Makefile)
646
	local HOSTCFLAGS=""
646
	HOSTCFLAGS=${HOSTCFLAGS:--Wall -Wstrict-prototypes -O2 -fomit-frame-pointer}
647
	HOSTCFLAGS=${HOSTCFLAGS:--Wall -Wstrict-prototypes -O2 -fomit-frame-pointer}
647
648
648
	if kernel_is 2 4; then
649
	if kernel_is 2 4; then
Lines 716-721 install_universal() { Link Here
716
install_headers() {
717
install_headers() {
717
	local ddir=$(kernel_header_destdir)
718
	local ddir=$(kernel_header_destdir)
718
719
720
	[[ ${ETYPE} == headers ]] && unset KBUILD_OUTPUT
719
	# 2.6.18 introduces headers_install which means we dont need any
721
	# 2.6.18 introduces headers_install which means we dont need any
720
	# of this crap anymore :D
722
	# of this crap anymore :D
721
	if kernel_is ge 2 6 18 ; then
723
	if kernel_is ge 2 6 18 ; then

Return to bug 566496