blob: 2c70ecd93a5e2357a34b42cb0f010ff7f519bbad [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001From 01808e8ef8ee709c8218d962601c18a63a063a1f Mon Sep 17 00:00:00 2001
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 01:09:58 +0000
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05004Subject: [PATCH 03/14] Point scripts location to libdir
Patrick Williamsc124f4f2015-09-15 14:41:29 -05005
6Upstream-Status: Inappropriate [debian patch]
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 ld/Makefile.am | 2 +-
11 ld/Makefile.in | 2 +-
12 2 files changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/ld/Makefile.am b/ld/Makefile.am
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050015index 0b3b049..3871c74 100644
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016--- a/ld/Makefile.am
17+++ b/ld/Makefile.am
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050018@@ -57,7 +57,7 @@ endif
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019 # We put the scripts in the directory $(scriptdir)/ldscripts.
20 # We can't put the scripts in $(datadir) because the SEARCH_DIR
21 # directives need to be different for native and cross linkers.
22-scriptdir = $(tooldir)/lib
23+scriptdir = $(libdir)
24
25 EMUL = @EMUL@
26 EMULATION_OFILES = @EMULATION_OFILES@
27diff --git a/ld/Makefile.in b/ld/Makefile.in
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050028index ed98f87..530e4c9 100644
Patrick Williamsc124f4f2015-09-15 14:41:29 -050029--- a/ld/Makefile.in
30+++ b/ld/Makefile.in
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050031@@ -413,7 +413,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050032 # We put the scripts in the directory $(scriptdir)/ldscripts.
33 # We can't put the scripts in $(datadir) because the SEARCH_DIR
34 # directives need to be different for native and cross linkers.
35-scriptdir = $(tooldir)/lib
36+scriptdir = $(libdir)
37 BASEDIR = $(srcdir)/..
38 BFDDIR = $(BASEDIR)/bfd
39 INCDIR = $(BASEDIR)/include
40--
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500412.7.1
Patrick Williamsc124f4f2015-09-15 14:41:29 -050042