Files
MyLFS/phase2/binutils.sh
2023-02-15 14:00:22 -05:00

22 lines
454 B
Bash

# Binutils Phase 2
sed '6009s/$add_dir//' -i ltmain.sh
mkdir build
cd build
../configure \
--prefix=/usr \
--build=$(../config.guess) \
--host=$LFS_TGT \
--disable-nls \
--enable-shared \
--enable-gprofng=no \
--disable-werror \
--enable-64-bit-bfd
make
make DESTDIR=$LFS install
rm $LFS/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.{a,la}