Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 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); \ |