mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 17:33:03 +02:00
busybox: fix build on musl.
This commit is contained in:
parent
cc3510e5c3
commit
3662027f4d
1 changed files with 6 additions and 0 deletions
|
@ -29,6 +29,12 @@ pre_build() {
|
||||||
make -C $t CFLAGS="$(_cflags $t)" KBUILD_SRC=${wrksrc}/src \
|
make -C $t CFLAGS="$(_cflags $t)" KBUILD_SRC=${wrksrc}/src \
|
||||||
-f ${wrksrc}/src/Makefile defconfig
|
-f ${wrksrc}/src/Makefile defconfig
|
||||||
cp -f ${FILESDIR}/${t}.dotconfig ${t}/.config
|
cp -f ${FILESDIR}/${t}.dotconfig ${t}/.config
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) sed -i -e /CONFIG_FEATURE_VI_REGEX_SEARCH/s/y/n/ \
|
||||||
|
-e /CONFIG_FEATURE_MOUNT_NFS/s/y/n/ \
|
||||||
|
${t}/.config;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -e \
|
sed -e \
|
||||||
|
|
Loading…
Add table
Reference in a new issue