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