summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--which/Pkgfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/which/Pkgfile b/which/Pkgfile
index 51a32c3..fc7484c 100644
--- a/which/Pkgfile
+++ b/which/Pkgfile
@@ -12,6 +12,8 @@ build ()
{
cd $name-$version;
./configure \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
--prefix=$prefix \
--mandir=$mandir;
make;