aboutsummaryrefslogtreecommitdiffstats
path: root/main/zlib
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-02-26 15:16:43 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-26 15:16:43 -0600
commitdc5423d3f47ff226528c41bf93b733089532fee9 (patch)
tree2fd1cea54e6a19251fc63740fd163a094a19c6f0 /main/zlib
parent6efe12aaeb4018288e89768915ac8cd6782039fc (diff)
downloadaports-dc5423d3f47ff226528c41bf93b733089532fee9.tar.bz2
aports-dc5423d3f47ff226528c41bf93b733089532fee9.tar.xz
main/zlib: cross-compile support
Diffstat (limited to 'main/zlib')
-rw-r--r--main/zlib/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/zlib/APKBUILD b/main/zlib/APKBUILD
index be57b60140..6137387e32 100644
--- a/main/zlib/APKBUILD
+++ b/main/zlib/APKBUILD
@@ -22,7 +22,7 @@ build() {
cd "$_builddir"
# we trade size for a little more speed.
export CFLAGS="$CFLAGS -O2"
- ./configure --prefix=/usr --libdir=/lib --shared
+ CHOST="${CHOST}" ./configure --prefix=/usr --libdir=/lib --shared
make || return 1
}