lfs-scripts/scripts/chapter5/5.2-binutils.sh

29 lines
379 B
Bash
Raw Normal View History

2023-01-06 09:13:50 +00:00
#!/bin/bash
2023-01-06 09:21:03 +00:00
cd $LFS/sources/binutils-2.39.tar.xz
2023-01-06 09:13:50 +00:00
mkdir -v build
cd build
../configure --prefix=$LFS/tools \
--with-sysroot=$LFS \
--target=$LFS_TGT \
--disable-nls \
--enable-gprofng=no \
--disable-werror
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make install