Files
axe-os/stage/bootstrap/binutils.bash
ag-tsotetsi 409517b49f re-edit
2026-03-22 21:30:15 +02:00

22 lines
468 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