diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch b/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch new file mode 100644 index 0000000000..c6b9de7991 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From e34650c50574a8a39d694567ed607a63006b6f99 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 2 Mar 2015 01:09:58 +0000 | ||
4 | Subject: [PATCH 04/15] Point scripts location to libdir | ||
5 | |||
6 | Upstream-Status: Inappropriate [debian patch] | ||
7 | |||
8 | Signed-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 | |||
14 | diff --git a/ld/Makefile.am b/ld/Makefile.am | ||
15 | index 15beaa7021..bbf9c671d8 100644 | ||
16 | --- a/ld/Makefile.am | ||
17 | +++ b/ld/Makefile.am | ||
18 | @@ -57,7 +57,7 @@ endif | ||
19 | # 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@ | ||
27 | diff --git a/ld/Makefile.in b/ld/Makefile.in | ||
28 | index 042b690ed6..37e7b25e9a 100644 | ||
29 | --- a/ld/Makefile.in | ||
30 | +++ b/ld/Makefile.in | ||
31 | @@ -452,7 +452,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) | ||
32 | # 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 | -- | ||
41 | 2.12.0 | ||
42 | |||