toolchain: Bump ARC tools to arc-2016.09-eng008
[buildroot-gz.git] / package / binutils / arc-2016.09-eng008 / 0300-ld-makefile.patch
blob73cc0980241ecaf49ae5d19908fc4b480b61b226
1 From d76a7549b43974fe8564971a3f40459bc495a8a7 Mon Sep 17 00:00:00 2001
2 From: Romain Naour <romain.naour@gmail.com>
3 Date: Fri, 25 Dec 2015 11:40:53 +0100
4 Subject: [PATCH] ld-makefile
6 [Romain: rebase on top of 2.26]
7 Signed-off-by: Romain Naour <romain.naour@gmail.com>
8 ---
9 ld/Makefile.am | 2 +-
10 ld/Makefile.in | 2 +-
11 2 files changed, 2 insertions(+), 2 deletions(-)
13 diff --git a/ld/Makefile.am b/ld/Makefile.am
14 index 0b3b049..3871c74 100644
15 --- a/ld/Makefile.am
16 +++ b/ld/Makefile.am
17 @@ -57,7 +57,7 @@ endif
18 # We put the scripts in the directory $(scriptdir)/ldscripts.
19 # We can't put the scripts in $(datadir) because the SEARCH_DIR
20 # directives need to be different for native and cross linkers.
21 -scriptdir = $(tooldir)/lib
22 +scriptdir = $(libdir)
24 EMUL = @EMUL@
25 EMULATION_OFILES = @EMULATION_OFILES@
26 diff --git a/ld/Makefile.in b/ld/Makefile.in
27 index ed98f87..530e4c9 100644
28 --- a/ld/Makefile.in
29 +++ b/ld/Makefile.in
30 @@ -413,7 +413,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
31 # We put the scripts in the directory $(scriptdir)/ldscripts.
32 # We can't put the scripts in $(datadir) because the SEARCH_DIR
33 # directives need to be different for native and cross linkers.
34 -scriptdir = $(tooldir)/lib
35 +scriptdir = $(libdir)
36 BASEDIR = $(srcdir)/..
37 BFDDIR = $(BASEDIR)/bfd
38 INCDIR = $(BASEDIR)/include
39 --
40 2.4.3