From: Victor Martinez Date: Tue, 4 Apr 2017 22:43:49 +0000 (+0000) Subject: autoconf: added build/host configure options X-Git-Url: http://gitweb/?a=commitdiff_plain;h=1b1763dbfd3d4d0d20a5b8acaa6985796390f4c1;p=crossrootfs.git autoconf: added build/host configure options --- diff --git a/autoconf/Pkgfile b/autoconf/Pkgfile index 21f9163..c50f95a 100644 --- a/autoconf/Pkgfile +++ b/autoconf/Pkgfile @@ -11,7 +11,9 @@ source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build () { cd $name-$version - ./configure --prefix=/usr + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr make make prefix=$PKG/usr install rm -r $PKG/usr/share/info