File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments