aboutsummaryrefslogtreecommitdiffstats
path: root/main/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'main/zlib')
-rw-r--r--main/zlib/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/main/zlib/APKBUILD b/main/zlib/APKBUILD
index 4d521dcaca..c64e286629 100644
--- a/main/zlib/APKBUILD
+++ b/main/zlib/APKBUILD
@@ -20,7 +20,13 @@ build() {
cd "$_builddir"
# we trade size for a little more speed.
export CFLAGS="$CFLAGS -O2"
- CHOST="${CHOST}" ./configure --prefix=/usr --libdir=/lib --shared
+ CHOST="${CHOST}" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --libdir=/lib \
+ --shared \
+ || return 1
make || return 1
}