summaryrefslogtreecommitdiff
path: root/packages/binutils/2.37/0001-ld_makefile_patch.patch
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2021-08-13 17:44:42 (GMT)
committerAlexey Brodkin <abrodkin@synopsys.com>2021-08-16 17:22:50 (GMT)
commit77525a81d3a48782e3a959fba32bd2447791ba0b (patch)
treea2b3b156201f472e41ea56207205f6257d37d03b /packages/binutils/2.37/0001-ld_makefile_patch.patch
parentf322679392930d55fb8a50e7223f39d4bbaeaf3e (diff)
binutils: add version 2.37
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'packages/binutils/2.37/0001-ld_makefile_patch.patch')
-rw-r--r--packages/binutils/2.37/0001-ld_makefile_patch.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/binutils/2.37/0001-ld_makefile_patch.patch b/packages/binutils/2.37/0001-ld_makefile_patch.patch
new file mode 100644
index 0000000..68d2013
--- /dev/null
+++ b/packages/binutils/2.37/0001-ld_makefile_patch.patch
@@ -0,0 +1,27 @@
+---
+ ld/Makefile.am | 2 +-
+ ld/Makefile.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/ld/Makefile.am
++++ b/ld/Makefile.am
+@@ -50,7 +50,7 @@
+ # We put the scripts in the directory $(scriptdir)/ldscripts.
+ # We can't put the scripts in $(datadir) because the SEARCH_DIR
+ # directives need to be different for native and cross linkers.
+-scriptdir = $(tooldir)/lib
++scriptdir = $(libdir)
+
+ EMUL = @EMUL@
+ EMULATION_OFILES = @EMULATION_OFILES@
+--- a/ld/Makefile.in
++++ b/ld/Makefile.in
+@@ -562,7 +562,7 @@
+ # We put the scripts in the directory $(scriptdir)/ldscripts.
+ # We can't put the scripts in $(datadir) because the SEARCH_DIR
+ # directives need to be different for native and cross linkers.
+-scriptdir = $(tooldir)/lib
++scriptdir = $(libdir)
+ BASEDIR = $(srcdir)/..
+ BFDDIR = $(BASEDIR)/bfd
+ INCDIR = $(BASEDIR)/include