diff options
author | Alexey Neyman <stilor@att.net> | 2017-04-02 13:25:41 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-04-02 13:25:41 -0700 |
commit | 9a9b02acef00f4446beaa2846da17b09829ba8e0 (patch) | |
tree | 41d31482d8de2bba038c460914f43a3e2c8d80b7 /scripts/build/libc | |
parent | ae58824a7e27f4106d55a0e111adea73492d7af4 (diff) | |
download | crosstool-ng-9a9b02acef00f4446beaa2846da17b09829ba8e0.tar.gz crosstool-ng-9a9b02acef00f4446beaa2846da17b09829ba8e0.tar.bz2 crosstool-ng-9a9b02acef00f4446beaa2846da17b09829ba8e0.zip |
Pass HOSTCC to uclibc's make
Else it looks for 'gcc'.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/libc')
-rw-r--r-- | scripts/build/libc/uClibc.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index 9f1eb370..a730a1dd 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" \ |