summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-01 12:32:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-01 12:32:27 +0000
commit6a0db566933678d3de1180be2f82846eb18e3fbf (patch)
tree14cd234be4a87d9b5565c16f4f4d25c8da69f905
parent270de195352845e6a58cfe236867abda28a31700 (diff)
downloadabuild-6a0db566933678d3de1180be2f82846eb18e3fbf.tar.gz
abuild-6a0db566933678d3de1180be2f82846eb18e3fbf.tar.bz2
abuild-6a0db566933678d3de1180be2f82846eb18e3fbf.tar.xz
abuild-6a0db566933678d3de1180be2f82846eb18e3fbf.zip
newapkbuild: add --build and --host options
-rwxr-xr-xnewapkbuild.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/newapkbuild.in b/newapkbuild.in
index 1b65815..6a32e08 100755
--- a/newapkbuild.in
+++ b/newapkbuild.in
@@ -32,7 +32,10 @@ __EOF__
build_autotools() {
cat >>APKBUILD<<__EOF__
- ./configure --prefix=/usr \\
+ ./configure \\
+ --build=\$CBUILD \\
+ --host=\$CHOST \\
+ --prefix=/usr \\
--sysconfdir=/etc \\
--mandir=/usr/share/man \\
--infodir=/usr/share/info \\