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

@@ -21,10 +21,14 @@ cd "${SRCDIR}"
tar -xf "${PACKAGE}-${VERSION}.tar.xz"
cd "${PACKAGE}-${VERSION}"
# Cross-compile cache overrides: grep 3.12 tries to run test binaries for
# strcasecmp and fnmatch. We know glibc provides correct implementations.
./configure \
--prefix=/usr \
--host="${LFS_TGT}" \
--build="$(./build-aux/config.guess)"
--build="$(./build-aux/config.guess)" \
gl_cv_func_strcasecmp_works=yes \
gl_cv_func_fnmatch_gnu=yes
make
make DESTDIR="${LFS}" install