aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.29.1/300-001_ld_makefile_patch.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-10-14 21:28:11 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2017-10-15 00:24:22 +0200
commitaba071d818c13aeab66ee021c9c9b4f9f733824e (patch)
treec3d0929a5645b589605aa37b6ca879d41daf2c57 /toolchain/binutils/patches/2.29.1/300-001_ld_makefile_patch.patch
parent81e28be824b397f7b6a5a682ee135549dd874125 (diff)
downloadupstream-aba071d818c13aeab66ee021c9c9b4f9f733824e.tar.gz
upstream-aba071d818c13aeab66ee021c9c9b4f9f733824e.tar.bz2
upstream-aba071d818c13aeab66ee021c9c9b4f9f733824e.zip
binutils: add version 2.29.1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'toolchain/binutils/patches/2.29.1/300-001_ld_makefile_patch.patch')
-rw-r--r--toolchain/binutils/patches/2.29.1/300-001_ld_makefile_patch.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.29.1/300-001_ld_makefile_patch.patch b/toolchain/binutils/patches/2.29.1/300-001_ld_makefile_patch.patch
new file mode 100644
index 0000000000..4365197f74
--- /dev/null
+++ b/toolchain/binutils/patches/2.29.1/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