diff options
author | Alexey Neyman <stilor@att.net> | 2017-03-07 00:44:24 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-03-07 02:57:12 (GMT) |
commit | 6cdf0df01be9bd4befd9509df07354c0f4461a32 (patch) | |
tree | 122616d1a4f16574e609faeadb3ae2d8a4c43adf | |
parent | 272c010874b47ea50b653137e0d6e83a6543c318 (diff) |
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>
-rw-r--r-- | scripts/build/companion_libs/050-zlib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/companion_libs/050-zlib.sh b/scripts/build/companion_libs/050-zlib.sh index 6e17819..10779af 100644 --- a/scripts/build/companion_libs/050-zlib.sh +++ b/scripts/build/companion_libs/050-zlib.sh @@ -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}" \ |