blob: b01e4816f75909676ee71453bf7eddf46ac00769 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
PORT_DIR=binutils
fetch() {
run_fetch_web "https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.xz"
# Add the big binutils patch (same one used by toolchain.)
run_patch $SERENITY_ROOT/Toolchain/Patches/binutils.patch -p1
}
configure() {
run_configure_autotools \
--target=i686-pc-serenity \
--with-sysroot=/ \
--with-build-sysroot=$SERENITY_ROOT/Root \
--disable-werror \
--disable-gdb \
--disable-nls
}
build() {
run_make
}
install() {
run_make_install DESTDIR="$SERENITY_ROOT"/Root
}
. ../.port_include.sh
|