summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libarchive/Pkgfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libarchive/Pkgfile b/libarchive/Pkgfile
index 4102bac..5760b41 100644
--- a/libarchive/Pkgfile
+++ b/libarchive/Pkgfile
@@ -12,6 +12,8 @@ build ()
{
cd libarchive-$version;
./configure \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
--prefix=$prefix \
--mandir=$mandir \
--without-lzmadec \