diff options
Diffstat (limited to 'sysfsutils')
-rw-r--r-- | sysfsutils/Pkgfile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysfsutils/Pkgfile b/sysfsutils/Pkgfile index 09c813a..1f18657 100644 --- a/sysfsutils/Pkgfile +++ b/sysfsutils/Pkgfile @@ -11,7 +11,11 @@ source=(http://downloads.sourceforge.net/project/linux-diag/$name/$version/$name build () { cd $name-$version; - ./configure --prefix=$prefix --mandir=$mandir; + ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix=$prefix \ + --mandir=$mandir; make; make DESTDIR=$PKG install; rm -f $PKG/usr/bin/dlist_test |