diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch b/meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch new file mode 100644 index 0000000000..2495079508 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From e74d765a1a95253c9247228bd7ccbcabecdd8f7e Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 2 Mar 2015 01:39:01 +0000 | ||
4 | Subject: [PATCH] don't let the distro compiler point to the wrong installation | ||
5 | location | ||
6 | |||
7 | Thanks to RP for helping find the source code causing the issue. | ||
8 | |||
9 | 2010/08/13 | ||
10 | Nitin A Kamble <nitin.a.kamble@intel.com> | ||
11 | |||
12 | Upstream-Status: Inappropriate [embedded specific] | ||
13 | |||
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
15 | --- | ||
16 | libiberty/Makefile.in | 3 ++- | ||
17 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in | ||
20 | index abef3c4601b..880c8826482 100644 | ||
21 | --- a/libiberty/Makefile.in | ||
22 | +++ b/libiberty/Makefile.in | ||
23 | @@ -385,7 +385,8 @@ install-strip: install | ||
24 | # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the | ||
25 | # default multilib, so we have to take CFLAGS into account as well, | ||
26 | # since it will be passed the multilib flags. | ||
27 | -MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory` | ||
28 | +#MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory` | ||
29 | +MULTIOSDIR = "" | ||
30 | install_to_libdir: all | ||
31 | if test -n "${target_header_dir}"; then \ | ||
32 | ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \ | ||