summaryrefslogtreecommitdiffstats
path: root/pkgutils/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'pkgutils/Pkgfile')
-rw-r--r--pkgutils/Pkgfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgutils/Pkgfile b/pkgutils/Pkgfile
index 5c1aa93..e576a44 100644
--- a/pkgutils/Pkgfile
+++ b/pkgutils/Pkgfile
@@ -11,5 +11,5 @@ source=(http://crux.nu/files/$name-$version.tar.gz)
build ()
{
cd $name-$version;
- make DESTDIR=$PKG MANDIR=$mandir install
+ make ${CHOST:+CXX=$CHOST-g++} DESTDIR=$PKG MANDIR=$mandir install
}