iproute2: unbreak cross compilation.

This commit is contained in:
Juan RP 2014-12-26 08:58:51 +01:00
parent 9c4feee721
commit ee34e13ede
1 changed files with 3 additions and 2 deletions

View File

@ -20,10 +20,11 @@ checksum=d5a182154abd0749b1df7d1649115a32c65f559951477396203b1f514dbff1df
do_configure() {
./configure
sed -i 's,CCOPTS,HOSTCCOPTS,g' netem/Makefile
}
do_build() {
make CC="$CC" RANLIB="$RANLIB" AR="$AR" LD="$LD" \
CCOPTS="$CFLAGS" LDFLAGS="$LDFLAGS" \
make HOSTCC=cc CC="$CC" RANLIB="$RANLIB" AR="$AR" LD="$LD" \
CCOPTS="$CFLAGS" HOSTCCOPTS="$XBPS_CFLAGS" LDFLAGS="$LDFLAGS" \
DBM_INCLUDE="$XBPS_CROSS_BASE/usr/include" ${makejobs}
}
do_install() {