newapkbuild: add --build and --host options

This commit is contained in:
Natanael Copa 2013-08-01 12:32:27 +00:00
parent 270de19535
commit 6a0db56693

View File

@ -32,7 +32,10 @@ __EOF__
build_autotools() { build_autotools() {
cat >>APKBUILD<<__EOF__ cat >>APKBUILD<<__EOF__
./configure --prefix=/usr \\ ./configure \\
--build=\$CBUILD \\
--host=\$CHOST \\
--prefix=/usr \\
--sysconfdir=/etc \\ --sysconfdir=/etc \\
--mandir=/usr/share/man \\ --mandir=/usr/share/man \\
--infodir=/usr/share/info \\ --infodir=/usr/share/info \\