summaryrefslogtreecommitdiffstats
path: root/make/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'make/Pkgfile')
-rw-r--r--make/Pkgfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/Pkgfile b/make/Pkgfile
index cfa78b4..b548ef1 100644
--- a/make/Pkgfile
+++ b/make/Pkgfile
@@ -12,7 +12,7 @@ source=(ftp://ftp.de.debian.org/debian/pool/main/p/pmake/${name}_${version}.orig
build () {
cd pmake
make -f Makefile.boot \
- ${CTARGET:+CC=$CTARGET-gcc} \
+ ${CHOST:+CC=$CHOST-gcc} \
CFLAGS="$CFLAGS -DHAVE_STRDUP -DHAVE_STRERROR"
mkdir -pv $PKG$bindir
install -m0755 bmake $PKG$bindir/pmake