diff options
author | Cem Keylan <cem@ckyln.com> | 2020-12-27 20:26:32 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-12-27 20:26:32 +0300 |
commit | 38f6aa7f5401d8322daa0b978df10d5fda2a613e (patch) | |
tree | 6fb948ff52a57a6e2220025a51ef705dd9d98e0c /core/gzip | |
parent | d9f26f27eb38c4727ff8446e36fbb0ed7efb0532 (diff) | |
download | repository-38f6aa7f5401d8322daa0b978df10d5fda2a613e.tar.gz |
experimental: add initial cross-compilation support
Diffstat (limited to 'core/gzip')
-rwxr-xr-x | core/gzip/build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/gzip/build b/core/gzip/build index 8d190a07..aecc904a 100755 --- a/core/gzip/build +++ b/core/gzip/build @@ -1,5 +1,7 @@ #!/bin/sh -e +[ "$CPT_CROSS_TRIPLET" ] && + CC="$CPT_CROSS_TRIPLET-cc -L$CPT_ROOT/usr/lib -isystem -isystem $CPT_ROOT/usr/include" make CC="${CC:-cc} -static" install -Dm755 pigz "$1/usr/bin/pigz" |