summaryrefslogtreecommitdiffstats
path: root/ncurses/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'ncurses/Pkgfile')
-rw-r--r--ncurses/Pkgfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/ncurses/Pkgfile b/ncurses/Pkgfile
index df88789..bf8fec3 100644
--- a/ncurses/Pkgfile
+++ b/ncurses/Pkgfile
@@ -12,6 +12,8 @@ build ()
{
cd $name-$version;
local opts=(
+ ${CHOST:+-build=${CHOST}}
+ ${CTARGET:+-host=${CTARGET}}
--with-install-prefix=$PKG
--prefix=$prefix
--with-normal