summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-04-02 20:25:41 (GMT)
committerAlexey Neyman <stilor@att.net>2017-04-02 20:25:41 (GMT)
commit9a9b02acef00f4446beaa2846da17b09829ba8e0 (patch)
tree41d31482d8de2bba038c460914f43a3e2c8d80b7
parentae58824a7e27f4106d55a0e111adea73492d7af4 (diff)
Pass HOSTCC to uclibc's make
Else it looks for 'gcc'. Signed-off-by: Alexey Neyman <stilor@att.net>
-rw-r--r--scripts/build/libc/uClibc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh
index 9f1eb37..a730a1d 100644
--- a/scripts/build/libc/uClibc.sh
+++ b/scripts/build/libc/uClibc.sh
@@ -119,6 +119,7 @@ do_libc_backend_once() {
# - We do _not_ want to strip anything for now, in case we specifically
# asked for a debug toolchain, thus the STRIPTOOL= assignment.
make_args=( CROSS_COMPILE="${CT_TARGET}-" \
+ HOSTCC="${CT_BUILD}-gcc" \
PREFIX="${multi_root}/" \
MULTILIB_DIR="${multilib_dir}" \
LOCALE_DATA_FILENAME="${uclibc_locale_tarball}.tgz" \