nfs-utils: unbreak glibc cross.
This commit is contained in:
parent
9c3785d8ef
commit
5c707b4eff
|
@ -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}
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue