re-edit
This commit is contained in:
22
stage/bootstrap/binutils.bash
Normal file
22
stage/bootstrap/binutils.bash
Normal 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
|
||||
Reference in New Issue
Block a user