summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/abuild/abuild4
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