Wip
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -21,11 +21,13 @@ cd "${SRCDIR}"
|
||||
tar -xf "${PACKAGE}-${VERSION}.tar.xz"
|
||||
cd "${PACKAGE}-${VERSION}"
|
||||
|
||||
# Cross-compile cache override: findutils tests fnmatch behavior at configure.
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--localstatedir=/var/lib/locate \
|
||||
--host="${LFS_TGT}" \
|
||||
--build="$(build-aux/config.guess)"
|
||||
--build="$(build-aux/config.guess)" \
|
||||
gl_cv_func_fnmatch_gnu=yes
|
||||
|
||||
make
|
||||
make DESTDIR="${LFS}" install
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -30,10 +30,12 @@ VERSION="${TARDIR#./tar-}"
|
||||
echo " Detected version: ${VERSION}"
|
||||
cd "${TARDIR}"
|
||||
|
||||
# Cross-compile cache override: tar tests strnlen behavior at configure time.
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--host="${LFS_TGT}" \
|
||||
--build="$(build-aux/config.guess)"
|
||||
--build="$(build-aux/config.guess)" \
|
||||
ac_cv_func_strnlen_working=yes
|
||||
|
||||
make
|
||||
make DESTDIR="${LFS}" install
|
||||
|
||||
Reference in New Issue
Block a user