summaryrefslogtreecommitdiff
path: root/patches/binutils/2.28/300-001_ld_makefile_patch.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-03-04 00:37:36 (GMT)
committerAlexey Neyman <stilor@att.net>2017-03-04 00:37:36 (GMT)
commit0465c8b6f22ba02695b633cd81e8cb0d787c0122 (patch)
tree98fbd5274572efaea00508e4f14fc51aa170e8d6 /patches/binutils/2.28/300-001_ld_makefile_patch.patch
parent0b895560198f61d28af494973bd9ca5181db9970 (diff)
Add binutils 2.28
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/binutils/2.28/300-001_ld_makefile_patch.patch')
-rw-r--r--patches/binutils/2.28/300-001_ld_makefile_patch.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/binutils/2.28/300-001_ld_makefile_patch.patch b/patches/binutils/2.28/300-001_ld_makefile_patch.patch
new file mode 100644
index 0000000..2a1320c
--- /dev/null
+++ b/patches/binutils/2.28/300-001_ld_makefile_patch.patch
@@ -0,0 +1,26 @@
+diff --git a/ld/Makefile.am b/ld/Makefile.am
+index 9575f1f..84df0bf 100644
+--- a/ld/Makefile.am
++++ b/ld/Makefile.am
+@@ -54,7 +54,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@
+diff --git a/ld/Makefile.in b/ld/Makefile.in
+index 9f56ca1..272860f 100644
+--- a/ld/Makefile.in
++++ b/ld/Makefile.in
+@@ -388,7 +388,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
+ # 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