diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-03-15 09:55:17 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-03-15 09:55:17 +0000 |
commit | 8f556be7668889d3a7fc2418ffcadbe7af99fb77 (patch) | |
tree | 9a38bdc1c508355d17b5f8cac76b7578fe43446c | |
parent | 2f110a80068fc35207e8d3b4cd9544f1c456a173 (diff) |
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
-rwxr-xr-x | util/abuild/abuild | 4 |
1 files changed, 3 insertions, 1 deletions
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 " <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 |