Use CHOST instead of CROSS_PREFIX

The latter does not prevent zlib's configure from overriding 'AR' with
/usr/bin/libtool on macos, and that breaks canadian crosses.

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2017-03-06 16:44:24 -08:00
parent 272c010874
commit 6cdf0df01b

View File

@ -86,7 +86,7 @@ do_zlib_backend() {
CT_DoExecLog CFG \
CFLAGS="${cflags}" \
LDFLAGS="${ldflags}" \
CROSS_PREFIX="${host}-" \
CHOST="${host}" \
${CONFIG_SHELL} \
"${CT_SRC_DIR}/zlib-${CT_ZLIB_VERSION}/configure" \
--prefix="${prefix}" \