aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.24/libiberty_path_fix.patch
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2013-12-27 10:26:51 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2014-01-07 08:43:34 +0000
commit6f7f02f18bd08814f1a91101399bf2bc33b220d5 (patch)
treed7bf9ca9274be3084ee1d213075f4a8e481d1705 /meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.24/libiberty_path_fix.patch
parent7e6fdc0f3a8232aa104c2a41a23a4dac45c6c90c (diff)
binutils: update to Linaro 2.24-2013.12 release
Work based on Khem Raj RFC for binutils 2.24 upgrade. Remaining Linaro changes: - use Linaro binutils release tarball - drop tlsdesc_plt-aarch64_be.patch (not needed for 2.24) Change-Id: I9de1882e73293bfa8bd87a855cb71c8e43b41002 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.24/libiberty_path_fix.patch')
-rw-r--r--meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.24/libiberty_path_fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.24/libiberty_path_fix.patch b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.24/libiberty_path_fix.patch
new file mode 100644
index 00000000..6e732fbd
--- /dev/null
+++ b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.24/libiberty_path_fix.patch
@@ -0,0 +1,22 @@
+Upstream-Status: Inappropriate [embedded specific]
+
+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>
+Index: binutils-2.22/libiberty/Makefile.in
+===================================================================
+--- binutils-2.22.orig/libiberty/Makefile.in
++++ binutils-2.22/libiberty/Makefile.in
+@@ -350,7 +350,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
+ ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
+ $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n