CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
autoconf: added build/host configure options
authorVictor Martinez <pitillo@ono.com>
Tue, 14 Feb 2017 20:58:51 +0000 (20:58 +0000)
committerVictor Martinez <pitillo@ono.com>
Tue, 14 Feb 2017 20:58:51 +0000 (20:58 +0000)
autoconf/Pkgfile

index 21f9163d33169bd95d6b07cceec8ad5a6c43ff80..c50f95a1e23feca3b3a66323a84890a6144ee842 100644 (file)
@@ -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