abuild: Don't forget CROSS_COMPILE anymore.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4006 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2009-03-15 09:55:17 +00:00 committed by Stefan Reinauer
parent 2f110a8006
commit 8f556be766
1 changed files with 3 additions and 1 deletions

View File

@ -394,7 +394,7 @@ function build_target
return 0
else
printf " ($TARCH: ok, we're $ARCH)\n"
printf " ($TARCH: ok, we're $ARCH with a ${CROSS_COMPILE} cross compiler)\n"
xml " <compiler>"
xml " <path>`which ${CROSS_COMPILE}gcc`</path>"
xml " <version>`${CROSS_COMPILE}gcc --version | head -1`</version>"
@ -403,6 +403,8 @@ function build_target
fi
fi
CC=${CROSS_COMPILE}$CC
if [ "$stackprotect" = "true" ]; then
CC="$CC -fno-stack-protector"
fi