eth0s/toolchain/01-binutils-pass1
2022-04-09 08:19:46 +08:00

22 lines
415 B
Text
Executable file

name=binutils
version=2.38
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
}