This commit is contained in:
ag-tsotetsi
2026-03-22 21:30:15 +02:00
parent 1b605aaef1
commit 409517b49f
10 changed files with 733 additions and 179 deletions

View File

@@ -0,0 +1,22 @@
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