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 |
# bug https://bugs.gentoo.org/show_bug.cgi?id=566496 |
|
|
646 |
# local HOSTCFLAGS=$(getfilevar HOSTCFLAGS "${S}"/Makefile) |
647 |
local HOSTCFLAGS="" |
646 |
HOSTCFLAGS=${HOSTCFLAGS:--Wall -Wstrict-prototypes -O2 -fomit-frame-pointer} |
648 |
HOSTCFLAGS=${HOSTCFLAGS:--Wall -Wstrict-prototypes -O2 -fomit-frame-pointer} |
647 |
|
649 |
|
648 |
if kernel_is 2 4; then |
650 |
if kernel_is 2 4; then |
Lines 716-721
install_universal() {
Link Here
|
716 |
install_headers() { |
718 |
install_headers() { |
717 |
local ddir=$(kernel_header_destdir) |
719 |
local ddir=$(kernel_header_destdir) |
718 |
|
720 |
|
|
|
721 |
# bug https://bugs.gentoo.org/show_bug.cgi?id=566514 |
722 |
[[ ${ETYPE} == headers ]] && unset KBUILD_OUTPUT |
719 |
# 2.6.18 introduces headers_install which means we dont need any |
723 |
# 2.6.18 introduces headers_install which means we dont need any |
720 |
# of this crap anymore :D |
724 |
# of this crap anymore :D |
721 |
if kernel_is ge 2 6 18 ; then |
725 |
if kernel_is ge 2 6 18 ; then |