mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #9754 from heitbaum/binutils
binutils: update to 2.44
This commit is contained in:
commit
077e90e656
@ -3,11 +3,11 @@
|
|||||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="binutils"
|
PKG_NAME="binutils"
|
||||||
PKG_VERSION="2.43.1"
|
PKG_VERSION="2.44"
|
||||||
PKG_SHA256="13f74202a3c4c51118b797a39ea4200d3f6cfbe224da6d1d95bb938480132dfd"
|
PKG_SHA256="67be9198476cc37436e2801de649f4ad80bf0d02430d86aff63c6b59b6e23987"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="https://www.gnu.org/software/binutils/"
|
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_HOST="ccache:host bison:host flex:host linux:host"
|
||||||
PKG_DEPENDS_TARGET="toolchain zlib binutils:host"
|
PKG_DEPENDS_TARGET="toolchain zlib binutils:host"
|
||||||
PKG_LONGDESC="A GNU collection of binary utilities."
|
PKG_LONGDESC="A GNU collection of binary utilities."
|
||||||
|
@ -12,9 +12,9 @@ Subject: [PATCH 09/13] warn for uses of system directories when cross linking
|
|||||||
|
|
||||||
--- a/ld/ldfile.c
|
--- a/ld/ldfile.c
|
||||||
+++ b/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)
|
if (!cmdline && config.only_cmd_line_lib_dirs)
|
||||||
return NULL;
|
return;
|
||||||
|
|
||||||
+ /* skip those directories when linking */
|
+ /* skip those directories when linking */
|
||||||
+ if ((!strncmp (name, "/lib", 4)) ||
|
+ 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 "
|
+ einfo (_("%P: warning: library search path \"%s\" is unsafe for "
|
||||||
+ "cross-compilation, ignore it\n"), name);
|
+ "cross-compilation, ignore it\n"), name);
|
||||||
+ return NULL;
|
+ return;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
new_dirs = (search_dirs_type *) xmalloc (sizeof (search_dirs_type));
|
new_dirs = (search_dirs_type *) xmalloc (sizeof (search_dirs_type));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user