iproute2: unbreak cross compilation.
This commit is contained in:
parent
9c4feee721
commit
ee34e13ede
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue