summaryrefslogtreecommitdiffstats
path: root/main/zlib
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-07-30 08:51:11 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-07-30 08:54:53 +0000
commit5c904717322f8113870abf48cc93c3c8b00ab4e8 (patch)
treee077e5c3afa20630fd6e96db5872f03d622d639e /main/zlib
parenta879839450737e3cbdb64415af42347c97ccfa28 (diff)
downloadaports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.bz2
aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.xz
[all autotools packages]: normalize ./configure
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 4d521dcac..c64e28662 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
}