]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
binutils: update to 2.46.0
authorKonstantin Demin <rockdrilla@gmail.com>
Fri, 17 Apr 2026 20:47:11 +0000 (23:47 +0300)
committerNick Hainke <vincent@systemli.org>
Sat, 18 Apr 2026 17:34:21 +0000 (19:34 +0200)
Release Notes:
- https://sourceware.org/pipermail/binutils/2026-February/148149.html

OpenWrt changes:
- rearrange configure options and variables
- provide variables for both configure and build stages (binutils has more than one ./configure script in source tree)

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21997
Signed-off-by: Nick Hainke <vincent@systemli.org>
package/devel/binutils/Makefile

index 5f906b1ede634a5696eb79326cb68d9378b1b068..54b2ae8c8c112b34ae7fac6ce09bd65b25e7f16d 100644 (file)
@@ -8,13 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=binutils
-PKG_VERSION:=2.45.1
+PKG_VERSION:=2.46.0
 PKG_RELEASE:=1
 
 PKG_SOURCE_URL:=@GNU/binutils
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_VERSION:=$(PKG_VERSION)
-PKG_HASH:=5fe101e6fe9d18fdec95962d81ed670fdee5f37e3f48f0bef87bddf862513aa5
+PKG_HASH:=d75a94f4d73e7a4086f7513e67e439e8fcdcbb726ffe63f4661744e6256b2cf2
 
 PKG_FIXUP:=patch-libtool
 PKG_LIBTOOL_PATHS:=. gas bfd opcodes gprof gprofng binutils ld libiberty gold intl libctf libsframe
@@ -85,16 +84,45 @@ CONFIGURE_ARGS += \
        --host=$(REAL_GNU_TARGET_NAME) \
        --target=$(REAL_GNU_TARGET_NAME) \
        --enable-shared \
+       --enable-dependency-tracking \
+       --enable-serial-configure \
+       --enable-obsolete \
+       --enable-deterministic-archives \
        --enable-install-libiberty \
        --enable-install-libbfd \
        --enable-install-libctf \
+       --disable-werror \
+       --disable-gprofng \
+       --disable-nls \
+       --disable-sim \
+       --disable-gdb \
        --with-system-zlib \
-       --without-zstd \
+       --without-debuginfod \
        --without-msgpack \
-       --disable-gprofng
+       --without-zstd \
+
+
+BINUTILS_VARS = \
+       ac_cv_path_EXPECT= \
+       ac_cv_prog_CARGO= \
+       ac_cv_prog_EXPECT= \
+       ac_cv_prog_GDC= \
+       ac_cv_prog_GNATBIND= \
+       ac_cv_prog_GNATMAKE= \
+       ac_cv_prog_MAKEINFO= \
+       ac_cv_prog_ac_ct_GDC= \
+       ac_cv_prog_ac_ct_GNATBIND= \
+       ac_cv_prog_ac_ct_GNATMAKE= \
+       ac_cv_dejagnu_compat=no \
+       ac_cv_libctf_tcl_try=no \
+       acx_cv_cc_gcc_supports_ada=no \
+       acx_cv_d_compiler_works=no \
+
+
+CONFIGURE_VARS += $(BINUTILS_VARS)
 
-MAKE_VARS+= \
-       CPPFLAGS="$(TARGET_CPPFLAGS)"
+MAKE_VARS += $(BINUTILS_VARS) \
+       CPPFLAGS="$(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)"
 
 define Build/Install
        $(call Build/Install/Default)