diff options
author | Lukc <lukc@upyum.com> | 2010-12-20 23:27:51 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-20 23:27:51 +0100 |
commit | 04ac47554bcf024a2b5a9f1c73f5d105f1f61cda (patch) | |
tree | 7035350ac868beee0342696906cb2bd292587c74 | |
parent | 00c0a388fa93e959ca4a4b259b4d367fa9751172 (diff) | |
download | base-04ac47554bcf024a2b5a9f1c73f5d105f1f61cda.tar.gz base-04ac47554bcf024a2b5a9f1c73f5d105f1f61cda.tar.bz2 base-04ac47554bcf024a2b5a9f1c73f5d105f1f61cda.tar.xz base-04ac47554bcf024a2b5a9f1c73f5d105f1f61cda.zip |
Recette de acl adaptée pour la compilation croisée.
-rw-r--r-- | acl/Pkgfile | 8 |
1 files changed, 7 insertions, 1 deletions
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; |