From 04ac47554bcf024a2b5a9f1c73f5d105f1f61cda Mon Sep 17 00:00:00 2001 From: Lukc Date: Mon, 20 Dec 2010 23:27:51 +0100 Subject: Recette de acl adaptée pour la compilation croisée. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- acl/Pkgfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'acl') diff --git a/acl/Pkgfile b/acl/Pkgfile index 5f7ebff..05e5022 100644 --- a/acl/Pkgfile +++ b/acl/Pkgfile @@ -13,7 +13,13 @@ build () cd $name-$version; export DEBUG=-DNDEBUG; export OPTIMIZER=$CFLAGS; - ./configure --prefix=$prefix --bindir=/bin --libexecdir=$libdir --mandir=$mandir; + ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix=$prefix \ + --bindir=/bin \ + --libexecdir=$libdir \ + --mandir=$mandir; make; make DIST_ROOT=$PKG install install-lib install-dev; install -d $PKG/lib; -- cgit v1.2.3-70-g09d2