summaryrefslogtreecommitdiffstats
path: root/iproute2
diff options
context:
space:
mode:
Diffstat (limited to 'iproute2')
-rw-r--r--iproute2/Pkgfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/iproute2/Pkgfile b/iproute2/Pkgfile
index a75c1ae..3864ddc 100644
--- a/iproute2/Pkgfile
+++ b/iproute2/Pkgfile
@@ -12,7 +12,7 @@ build ()
{
cd $name-$version;
sed -i "s|-O2|$CFLAGS -DIPT_LIB_DIR=\\\\\"$prefix/lib/xtables\\\\\"|" Makefile;
- make ${CTARGET:+CC=$CTARGET-gcc};
+ make ${CHOST:+CC=$CHOST-gcc};
make MANDIR=$mandir DESTDIR=$PKG install;
install -d $PKG/{{s,}bin,$prefix/{${mandir/$prefix}/man8,sbin}}