From 38f6aa7f5401d8322daa0b978df10d5fda2a613e Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 27 Dec 2020 20:26:32 +0300 Subject: experimental: add initial cross-compilation support --- core/zlib/build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/zlib/build') diff --git a/core/zlib/build b/core/zlib/build index 01090e82..c14fa524 100755 --- a/core/zlib/build +++ b/core/zlib/build @@ -1,5 +1,8 @@ #!/bin/sh -e +[ "$CPT_CROSS_TRIPLET" ] && CC=$CPT_CROSS_TRIPLET-cc +export CC + ./configure \ --prefix=/usr \ --libdir=/usr/lib \ -- cgit v1.2.3