This commit is contained in:
2026-03-20 12:03:59 +01:00
parent 0d2cd53235
commit 7de732589a
6 changed files with 45 additions and 5 deletions

View File

@@ -23,12 +23,16 @@ cd "${SRCDIR}"
tar -xf "${PACKAGE}-${VERSION}.tar.xz"
cd "${PACKAGE}-${VERSION}"
# Cross-compile cache overrides: coreutils 9.10 tries to run test binaries
# for strerror and strnlen. We know glibc provides correct implementations.
./configure \
--prefix=/usr \
--host="${LFS_TGT}" \
--build="$(build-aux/config.guess)" \
--enable-install-program=hostname \
gl_cv_macro_MB_CUR_MAX_good=y
gl_cv_macro_MB_CUR_MAX_good=y \
gl_cv_func_working_strerror=yes \
ac_cv_func_strnlen_working=yes
make
make DESTDIR="${LFS}" install