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}"
# gl_cv_func_strcasecmp_works: diffutils 3.12 tries to run a test binary to
# check if strcasecmp works. This fails during cross-compilation. We know
# glibc's strcasecmp is correct, so we tell configure the answer directly.
./configure \
--prefix=/usr \
--host="${LFS_TGT}" \
--build="$(./build-aux/config.guess)"
--build="$(./build-aux/config.guess)" \
gl_cv_func_strcasecmp_works=yes
make
make DESTDIR="${LFS}" install