diff --git a/packages/devel/binutils/package.mk b/packages/devel/binutils/package.mk index b7c7543646..dd347c2a49 100644 --- a/packages/devel/binutils/package.mk +++ b/packages/devel/binutils/package.mk @@ -3,11 +3,11 @@ # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) PKG_NAME="binutils" -PKG_VERSION="2.43.1" -PKG_SHA256="13f74202a3c4c51118b797a39ea4200d3f6cfbe224da6d1d95bb938480132dfd" +PKG_VERSION="2.44" +PKG_SHA256="67be9198476cc37436e2801de649f4ad80bf0d02430d86aff63c6b59b6e23987" PKG_LICENSE="GPL" PKG_SITE="https://www.gnu.org/software/binutils/" -PKG_URL="https://ftp.gnu.org/gnu/binutils/${PKG_NAME}-${PKG_VERSION}.tar.xz" +PKG_URL="https://ftp.gnu.org/gnu/binutils/${PKG_NAME}-with-gold-${PKG_VERSION}.tar.xz" PKG_DEPENDS_HOST="ccache:host bison:host flex:host linux:host" PKG_DEPENDS_TARGET="toolchain zlib binutils:host" PKG_LONGDESC="A GNU collection of binary utilities." diff --git a/packages/devel/binutils/patches/binutils-01-warn-for-uses-of-system-directories-when-link.patch b/packages/devel/binutils/patches/binutils-01-warn-for-uses-of-system-directories-when-link.patch index d562277d57..9bd64e3872 100644 --- a/packages/devel/binutils/patches/binutils-01-warn-for-uses-of-system-directories-when-link.patch +++ b/packages/devel/binutils/patches/binutils-01-warn-for-uses-of-system-directories-when-link.patch @@ -12,9 +12,9 @@ Subject: [PATCH 09/13] warn for uses of system directories when cross linking --- a/ld/ldfile.c +++ b/ld/ldfile.c -@@ -103,6 +103,17 @@ ldfile_add_library_path (const char *nam +@@ -314,6 +314,17 @@ ldfile_add_library_path (const char *nam if (!cmdline && config.only_cmd_line_lib_dirs) - return NULL; + return; + /* skip those directories when linking */ + if ((!strncmp (name, "/lib", 4)) || @@ -24,7 +24,7 @@ Subject: [PATCH 09/13] warn for uses of system directories when cross linking + { + einfo (_("%P: warning: library search path \"%s\" is unsafe for " + "cross-compilation, ignore it\n"), name); -+ return NULL; ++ return; + } + new_dirs = (search_dirs_type *) xmalloc (sizeof (search_dirs_type));