Files
axe-os/stage/bootstrap/binutils.bash
2026-03-25 14:54:35 +02:00

22 lines
438 B
Bash

fetch $BINUTILS_URL
cd "$SOURCES" && tar xf binutils-$BINUTILS_VERSION.tar.xz && cd binutils-$BINUTILS_VERSION
mkdir -p build && cd build
../configure \
--prefix="$CROSS" \
--with-sysroot="$SYSROOT" \
--target=$TARGET \
--disable-nls \
--enable-gprofng=no \
--disable-werror \
--enable-new-dtags \
--enable-default-hash-style=gnu \
--silent \
--quiet
make && make install
cd "$SOURCES" && rm -rf binutils-$BINUTILS_VERSION