From f7c4c6ba46d213b5b518088b932be07007e54ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 8 Jul 2013 10:15:25 +0000 Subject: main/pkgconf: support crosscompiling --- main/pkgconf/APKBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main/pkgconf/APKBUILD b/main/pkgconf/APKBUILD index 63a3cc41cc..b6a29ebf28 100644 --- a/main/pkgconf/APKBUILD +++ b/main/pkgconf/APKBUILD @@ -32,9 +32,13 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ + --build=${CBUILD} \ + --host=${CHOST} \ || return 1 make || return 1 - make check || return 1 + if [ "$CHOST" = "$CBUILD" ]; then + make check || return 1 + fi } package() { -- cgit v1.2.3