summaryrefslogtreecommitdiffstats
path: root/xz/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'xz/Pkgfile')
-rw-r--r--xz/Pkgfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/xz/Pkgfile b/xz/Pkgfile
index 1a9367a..fef3f68 100644
--- a/xz/Pkgfile
+++ b/xz/Pkgfile
@@ -12,6 +12,8 @@ build ()
{
cd $name-$version;
./configure \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
--prefix=$prefix \
--mandir=$mandir \
$(use_enable nls) \