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:
parent
2f110a8006
commit
8f556be766
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue