0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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. Thanks to RP for helping find the source code causing the issue.
  7. 2010/08/13
  8. Nitin A Kamble <nitin.a.kamble@intel.com>
  9. Upstream-Status: Inappropriate [embedded specific]
  10. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  11. ---
  12. libiberty/Makefile.in | 3 ++-
  13. 1 file changed, 2 insertions(+), 1 deletion(-)
  14. diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
  15. index abef3c4601b..880c8826482 100644
  16. --- a/libiberty/Makefile.in
  17. +++ b/libiberty/Makefile.in
  18. @@ -385,7 +385,8 @@ install-strip: install
  19. # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
  20. # default multilib, so we have to take CFLAGS into account as well,
  21. # since it will be passed the multilib flags.
  22. -MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
  23. +#MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
  24. +MULTIOSDIR = ""
  25. install_to_libdir: all
  26. if test -n "${target_header_dir}"; then \
  27. ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \