aboutsummaryrefslogtreecommitdiff
path: root/core/gzip
diff options
context:
space:
mode:
Diffstat (limited to 'core/gzip')
-rwxr-xr-xcore/gzip/build2
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"