eth0s/toolchain/01-binutils-pass1
2020-11-13 13:58:01 +08:00

22 lines
417 B
Text
Executable file

name=binutils
version=2.35.1
source=(http://ftp.gnu.org/gnu/binutils/binutils-$version.tar.xz)
build() {
cd $name-$version
mkdir -v build
cd build
../configure \
--prefix=/tools \
--with-sysroot=$LFS \
--target=$LFS_TGT \
--disable-nls \
--disable-werror \
--with-lib-path=/tools/lib:/tools/lib32
make
mkdir -v /tools/lib && ln -sv lib /tools/lib64
mkdir -p /tools/lib32
make install
}