aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-07-08 10:14:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-08 11:40:50 +0000
commit9b63e3313218ef260b762b80c3b078ebf5ca45bf (patch)
tree0bc9a74557a5466a015b55a28ef24f67ced69721
parent8a8d2cffadb2310704307b3a228add443526df72 (diff)
downloadaports-9b63e3313218ef260b762b80c3b078ebf5ca45bf.tar.bz2
aports-9b63e3313218ef260b762b80c3b078ebf5ca45bf.tar.xz
main/patch: support crosscompiling
-rw-r--r--main/patch/APKBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/patch/APKBUILD b/main/patch/APKBUILD
index f7fe5d5cc7..4091c3e66b 100644
--- a/main/patch/APKBUILD
+++ b/main/patch/APKBUILD
@@ -16,6 +16,8 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure --prefix=/usr \
+ --build=${CBUILD} \
+ --host=${CHOST} \
--mandir=/usr/share/man
make || return 1
}