summaryrefslogtreecommitdiff
path: root/packages/binutils/2.26.1/300-001_ld_makefile_patch.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-18 23:17:53 (GMT)
committerAlexey Neyman <stilor@att.net>2017-08-18 23:17:53 (GMT)
commit321990916bd5180b11c598279680794ce9b044e3 (patch)
tree0b97ada2156ef1e8fc5d83c0dadbd2d7f7a87cff /packages/binutils/2.26.1/300-001_ld_makefile_patch.patch
parent5d6ac1b8b1160aad4b9f09b31b7bad4ea14519f3 (diff)
Trim old versions
Policy: - Only latest patchlevel for each branch release Exception: CLooG - ISL has dependencies on specific CLooG releases within a single branch - Where there are no patchlevel releases (uClibc, musl) - just retain two most recent releases Also, missed automake update: 1.14 -> 1.14.1 Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/binutils/2.26.1/300-001_ld_makefile_patch.patch')
-rw-r--r--packages/binutils/2.26.1/300-001_ld_makefile_patch.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/binutils/2.26.1/300-001_ld_makefile_patch.patch b/packages/binutils/2.26.1/300-001_ld_makefile_patch.patch
new file mode 100644
index 0000000..2a1320c
--- /dev/null
+++ b/packages/binutils/2.26.1/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