aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils/0009-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch
blob: 1c4059392715d9e488a63e4afc888fff91571eba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 2be9b44a4a308e3ea42a027c4c3211170f10c9c0 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 2 Mar 2015 01:39:01 +0000
Subject: [PATCH 09/15] don't let the distro compiler point to the wrong
 installation location

Thanks to RP for helping find the source code causing the issue.

2010/08/13
Nitin A Kamble <nitin.a.kamble@intel.com>

Upstream-Status: Inappropriate [embedded specific]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 libiberty/Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index 0ff9e45e45..42c32642b2 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -366,7 +366,8 @@ install-strip: install
 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
 # default multilib, so we have to take CFLAGS into account as well,
 # since it will be passed the multilib flags.
-MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
+#MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
+MULTIOSDIR = ""
 install_to_libdir: all
 	if test -n "${target_header_dir}"; then \
 		${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \
-- 
2.12.0