build-style/void-cross: remove enable-obsolete-{rpc,nsl} from glibc

also enable glibc cross toolchains on musl
This commit is contained in:
John 2021-01-01 17:29:22 +01:00 committed by q66
parent a40f4cd82b
commit 599b7fef67
2 changed files with 0 additions and 11 deletions

View file

@ -220,8 +220,6 @@ _void_cross_build_glibc_headers() {
--host=${tgt} \
--with-headers=${wrksrc}/build_root/usr/${tgt}/usr/include \
--config-cache \
--enable-obsolete-rpc \
--enable-obsolete-nsl \
--enable-kernel=2.6.27 \
${cross_glibc_configure_args}
@ -262,8 +260,6 @@ _void_cross_build_glibc() {
--host=${tgt} \
--with-headers=${wrksrc}/build_root/usr/${tgt}/usr/include \
--config-cache \
--enable-obsolete-rpc \
--enable-obsolete-nsl \
--disable-profile \
--disable-werror \
--enable-kernel=2.6.27 \

View file

@ -4,10 +4,3 @@ create_wrksrc=yes
nostrip_files+=" libcaf_single.a libgcc.a libgcov.a libgcc_eh.a
libgnarl_pic.a libgnarl.a libgnat_pic.a libgnat.a libgmem.a"
# glibc crosstoolchains not available on musl hosts yet
if [ -z "$archs" -a "${cross_triplet/-musl}" = "${cross_triplet}" ]; then
if [ "$XBPS_TARGET_LIBC" != "glibc" ]; then
archs="~*-musl"
fi
fi