aboutsummaryrefslogtreecommitdiffstats
path: root/main/openjdk6/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/openjdk6/APKBUILD')
-rw-r--r--main/openjdk6/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/main/openjdk6/APKBUILD b/main/openjdk6/APKBUILD
index 934714211a..694fdb359b 100644
--- a/main/openjdk6/APKBUILD
+++ b/main/openjdk6/APKBUILD
@@ -121,7 +121,10 @@ build() {
cd "$_builddir"
sh autogen.sh
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
@@ -138,7 +141,7 @@ build() {
--with-ant-home=$srcdir/apache-ant-$ANT_VER \
--with-rhino=$srcdir/rhino$RHINO_VER/js.jar \
--with-pkgversion="Alpine ${pkgver}-r${pkgrel}" \
- || return 1
+ || return 1
make || return 1
}