blob: 9557e871db0753b944a61bad118e9f05d14ba5ef [file] [log] [blame]
Andrew Geisslerc5535c92023-01-27 16:10:19 -06001From fc39b9c332a346910695817274d55d0c20dc717a Mon Sep 17 00:00:00 2001
Patrick Williams92b42cb2022-09-03 06:53:57 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 01:39:01 +0000
4Subject: [PATCH] don't let the distro compiler point to the wrong installation
5 location
6
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
Andrew Geisslerc5535c92023-01-27 16:10:19 -060020index f9fbba23e2c..93495e45d6f 100644
Patrick Williams92b42cb2022-09-03 06:53:57 -050021--- 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); \