aboutsummaryrefslogtreecommitdiff
path: root/core/zlib
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-27 20:26:32 +0300
committerCem Keylan <cem@ckyln.com>2020-12-27 20:26:32 +0300
commit38f6aa7f5401d8322daa0b978df10d5fda2a613e (patch)
tree6fb948ff52a57a6e2220025a51ef705dd9d98e0c /core/zlib
parentd9f26f27eb38c4727ff8446e36fbb0ed7efb0532 (diff)
downloadrepository-38f6aa7f5401d8322daa0b978df10d5fda2a613e.tar.gz
experimental: add initial cross-compilation support
Diffstat (limited to 'core/zlib')
-rwxr-xr-xcore/zlib/build3
1 files changed, 3 insertions, 0 deletions
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 \