nfs-utils: unbreak glibc cross.

This commit is contained in:
Juan RP 2016-01-09 07:56:34 +01:00
parent 9c3785d8ef
commit 5c707b4eff
1 changed files with 3 additions and 1 deletions

View File

@ -29,9 +29,11 @@ make_dirs="
"
pre_build() {
if [ "$CROSS_BUILD" ]; then
sed -i '/SUBDIRS/s,tools,,' Makefile.in
fi
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i '/SUBDIRS/s,tools,,' Makefile.in
cd tools/rpcgen
make CC=cc CFLAGS= CPPFLAGS= LDFLAGS= ${makejobs}
;;