aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.30/300-001_ld_makefile_patch.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-03-08 11:21:58 +0100
committerFelix Fietkau <nbd@nbd.name>2018-03-12 20:01:07 +0100
commite28551b103f4999b36d3725a23b59f507830f48a (patch)
treeaa3f8b5438263aca963a7f12c3b2c72fa43d1b29 /toolchain/binutils/patches/2.30/300-001_ld_makefile_patch.patch
parentd85a7f1eb248c54d8936b26a95459fbc18f8a174 (diff)
downloadupstream-e28551b103f4999b36d3725a23b59f507830f48a.tar.gz
upstream-e28551b103f4999b36d3725a23b59f507830f48a.tar.bz2
upstream-e28551b103f4999b36d3725a23b59f507830f48a.zip
toolchain/binutils: add support for version 2.30
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'toolchain/binutils/patches/2.30/300-001_ld_makefile_patch.patch')
-rw-r--r--toolchain/binutils/patches/2.30/300-001_ld_makefile_patch.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.30/300-001_ld_makefile_patch.patch b/toolchain/binutils/patches/2.30/300-001_ld_makefile_patch.patch
new file mode 100644
index 0000000000..4365197f74
--- /dev/null
+++ b/toolchain/binutils/patches/2.30/300-001_ld_makefile_patch.patch
@@ -0,0 +1,22 @@
+--- a/ld/Makefile.am
++++ b/ld/Makefile.am
+@@ -57,7 +57,7 @@ endif
+ # 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
+@@ -446,7 +446,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