summaryrefslogtreecommitdiff
path: root/packages/binutils/2.37/0001-ld_makefile_patch.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-08-18 09:08:33 (GMT)
committerGitHub <noreply@github.com>2021-08-18 09:08:33 (GMT)
commit358945ff2219e37d280532522d2c62309614d162 (patch)
treea2b3b156201f472e41ea56207205f6257d37d03b /packages/binutils/2.37/0001-ld_makefile_patch.patch
parentf322679392930d55fb8a50e7223f39d4bbaeaf3e (diff)
parent77525a81d3a48782e3a959fba32bd2447791ba0b (diff)
Merge pull request #1578 from foss-for-synopsys-dwc-arc-processors/abrodkin-binutils-2.37
binutils: add version 2.37
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