We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c587158 commit 7b5efbaCopy full SHA for 7b5efba
build-binutils.sh
@@ -0,0 +1,30 @@
1
+#!/bin/bash
2
+
3
+set -e
4
+source "$(dirname "${BASH_SOURCE[0]}")/utils.sh"
5
6
+VERSION=2.38
7
+SHA256SUM=e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024
8
9
+# Build binutils
10
+wget --no-check-certificate https://ftp.gnu.org/gnu/binutils/binutils-$VERSION.tar.xz
11
+verify_checksum binutils-$VERSION.tar.xz $SHA256SUM
12
13
+tar --extract --file binutils-$VERSION.tar.xz
14
+cd binutils-$VERSION
15
+./configure --prefix="${PREFIX}" \
16
+ --enable-deterministic-archives \
17
+ --prefix="${PREFIX}" \
18
+ --disable-werror \
19
+ --enable-interwork \
20
+ --enable-multilib \
21
+ --enable-64-bit-bfd \
22
+ --enable-targets=all \
23
+ --disable-nls
24
25
+make
26
+make install
27
+cd ..
28
+rm -rf binutils-$VERSION
29
30
+package binutils $VERSION
0 commit comments