mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 09:06:19 +00:00
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:
parent
272c010874
commit
6cdf0df01b
@ -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}" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user