From 8f556be7668889d3a7fc2418ffcadbe7af99fb77 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sun, 15 Mar 2009 09:55:17 +0000 Subject: abuild: Don't forget CROSS_COMPILE anymore. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4006 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/abuild/abuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util/abuild/abuild b/util/abuild/abuild index dbb2cfec4a..cfc440b216 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -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 " " xml " `which ${CROSS_COMPILE}gcc`" xml " `${CROSS_COMPILE}gcc --version | head -1`" @@ -403,6 +403,8 @@ function build_target fi fi + CC=${CROSS_COMPILE}$CC + if [ "$stackprotect" = "true" ]; then CC="$CC -fno-stack-protector" fi -- cgit v1.2.3