summaryrefslogtreecommitdiff
path: root/packages/binutils/2.35/0001-ld_makefile_patch.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2020-08-30 08:51:23 (GMT)
committerGitHub <noreply@github.com>2020-08-30 08:51:23 (GMT)
commit23f17ab5cbff7a6ae46816553a166ff782da0c9a (patch)
treeba432b0ae7bf1715bfc41f924c9a1d7b644ef4f2 /packages/binutils/2.35/0001-ld_makefile_patch.patch
parentd908f53ffaed4592d9c660f23d66bcbb642f76f6 (diff)
parent793d65899f448ee9b0cf121a170c82f0bc15b854 (diff)
Merge pull request #1368 from egtvedt/add-gcc-9.3-and-10.2-binutils-2.35
Add gcc 9.3 and 10.2, and binutils 2.35
Diffstat (limited to 'packages/binutils/2.35/0001-ld_makefile_patch.patch')
-rw-r--r--packages/binutils/2.35/0001-ld_makefile_patch.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/binutils/2.35/0001-ld_makefile_patch.patch b/packages/binutils/2.35/0001-ld_makefile_patch.patch
new file mode 100644
index 0000000..0eb9496
--- /dev/null
+++ b/packages/binutils/2.35/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 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
+ # 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
+@@ -555,7 +555,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
+ # 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