wok rev 23515

busybox: musl & diet may fail (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 06 12:11:08 2020 +0200 (2020-04-06)
parents a9aa30e5bd71
children 74b39318b0a3
files busybox/receipt
line diff
     1.1 --- a/busybox/receipt	Mon Apr 06 10:58:44 2020 +0100
     1.2 +++ b/busybox/receipt	Mon Apr 06 12:11:08 2020 +0200
     1.3 @@ -108,7 +108,7 @@
     1.4  			cp $stuff/$PACKAGE-${VERSION%.*}.config-static .config
     1.5  			sed -i 's|uclibc-i486-||' .config
     1.6  			make oldconfig | sed 's|ERROR|error|' &&
     1.7 -			if make CC=musl-gcc ; then
     1.8 +			if make CC=musl-gcc 2> musl-err.log ; then
     1.9  				mv busybox busybox-musl
    1.10  				mv busybox_unstripped.map busybox-musl.map
    1.11  				mv -f docs/busybox.1 docs/busybox.static.1
    1.12 @@ -121,7 +121,7 @@
    1.13  			cp $stuff/$PACKAGE-${VERSION%.*}.config-static .config
    1.14  			sed -i 's|uclibc-i486-||;s|CFLAGS="|&-D_BSD_SOURCE |;s|LDFLAGS="|&-Wl,--allow-multiple-definition |;s|LDLIBS="|&compat rpc |' .config
    1.15  			make oldconfig | sed 's|ERROR|error|' &&
    1.16 -			if make CC="/usr/lib/diet/bin/diet gcc" ; then
    1.17 +			if make CC="/usr/lib/diet/bin/diet gcc" 2> diet-err.log ; then
    1.18  				mv busybox busybox-diet
    1.19  				mv busybox_unstripped.map busybox-diet.map
    1.20  				mv -f docs/busybox.1 docs/busybox.static.1