Skip to content

Commit 6537560

Browse files
authored
Merge pull request #3808 from hadfl/aarch64_binutils
2 parents 76bc591 + 9cc4c84 commit 6537560

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

build/binutils/build-arch-aarch64.sh

+4-6
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313
# }}}
1414
#
1515
# Copyright 2011-2012 OmniTI Computer Consulting, Inc. All rights reserved.
16-
# Copyright 2023 OmniOS Community Edition (OmniOSce) Association.
16+
# Copyright 2025 OmniOS Community Edition (OmniOSce) Association.
1717
# Copyright 2023 Richard Lowe <richlowe@richlowe.net>
1818

1919
. ../../lib/build.sh
2020

2121
PROG=binutils
22-
VER=2.39
22+
VER=2.41
2323
PKG=developer/gnu-binutils
2424
SUMMARY="GNU binary utilities"
2525
DESC="A set of programming tools for creating and managing binary programs, "
2626
DESC+="object files, libraries, etc."
2727

2828
REPO=$GITHUB/richlowe/binutils-gdb
29-
BRANCH=illumos-arm64
29+
BRANCH=illumos-arm64-${VER//./-}
3030
ARCH=aarch64
3131

3232
[ "$CLIBUILDARCH" = $ARCH ] || logerr "Incorrect arch selected, use -a $ARCH"
@@ -80,10 +80,8 @@ CFLAGS+=" $CFLAGS_FOR_TARGET"
8080
CXXFLAGS+=" $CFLAGS_FOR_TARGET"
8181

8282
build_init() {
83-
typeset d=${SYSROOT[$ARCH]}/usr
84-
8583
CONFIGURE_OPTS+="
86-
--with-libgmp-prefix=$d
84+
--with-gmp-include=${SYSROOT[$ARCH]}/usr/include/gmp
8785
"
8886
}
8987

0 commit comments

Comments
 (0)