nfs-utils: unbreak glibc cross.
This commit is contained in:
parent
9c3785d8ef
commit
5c707b4eff
1 changed files with 3 additions and 1 deletions
|
@ -29,9 +29,11 @@ make_dirs="
|
||||||
"
|
"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
sed -i '/SUBDIRS/s,tools,,' Makefile.in
|
||||||
|
fi
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl)
|
*-musl)
|
||||||
sed -i '/SUBDIRS/s,tools,,' Makefile.in
|
|
||||||
cd tools/rpcgen
|
cd tools/rpcgen
|
||||||
make CC=cc CFLAGS= CPPFLAGS= LDFLAGS= ${makejobs}
|
make CC=cc CFLAGS= CPPFLAGS= LDFLAGS= ${makejobs}
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue