cross-build m4 and attr

This commit is contained in:
Denis Benato 2024-12-07 18:36:47 +01:00
parent bc0d71b33b
commit 16b3bc0dc8

View file

@ -469,11 +469,9 @@ if [ ! -f "$STEPS_DIR/m4" ]; then
echo "rootsbindir=/usr/sbin" > configparms echo "rootsbindir=/usr/sbin" > configparms
"../configure" \ "../configure" \
--prefix=/usr \ --prefix=/usr \
--target=$LFS_TGT \ --host=$LFS_TGT
--host=$(build-aux/config.guess) \
--build=$(build-aux/config.guess) \
make -j 32 make -j 32
make DESTDIR=$LFS install make DESTDIR=$LFS install
@ -501,9 +499,7 @@ if [ ! -f "$STEPS_DIR/attr" ]; then
"../configure" \ "../configure" \
--prefix=/usr \ --prefix=/usr \
--disable-static \ --disable-static \
--target=$LFS_TGT \ --host=$LFS_TGT
--host=$(build-aux/config.guess) \
--build=$(build-aux/config.guess) \
make -j 32 make -j 32
make DESTDIR=$LFS install make DESTDIR=$LFS install