blob: 39cef70bcd497a6e50c36c1cd409e125193934d4 [file] [log] [blame]
Patrick Williams213cb262021-08-07 19:21:33 -05001From 37581c8ce9d98a1183706e12a2c9a73f7f40462d Mon Sep 17 00:00:00 2001
Andrew Geissler82c905d2020-04-13 13:39:40 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 01:39:01 +0000
Andrew Geisslerd1e89492021-02-12 15:35:20 -06004Subject: [PATCH] don't let the distro compiler point to the wrong installation
5 location
Andrew Geissler82c905d2020-04-13 13:39:40 -05006
7Thanks to RP for helping find the source code causing the issue.
8
92010/08/13
10Nitin A Kamble <nitin.a.kamble@intel.com>
11
12Upstream-Status: Inappropriate [embedded specific]
13
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 libiberty/Makefile.in | 3 ++-
17 1 file changed, 2 insertions(+), 1 deletion(-)
18
19diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
Patrick Williams213cb262021-08-07 19:21:33 -050020index 4f1213b983b..2ba18b75cac 100644
Andrew Geissler82c905d2020-04-13 13:39:40 -050021--- a/libiberty/Makefile.in
22+++ b/libiberty/Makefile.in
Andrew Geissler635e0e42020-08-21 15:58:33 -050023@@ -367,7 +367,8 @@ install-strip: install
Andrew Geissler82c905d2020-04-13 13:39:40 -050024 # 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); \