summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-02-01 01:00:15 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-02 22:37:40 +0000
commitd4b11e8f160350e4530e174d2c93e06fe90e48c6 (patch)
tree7e253c46b998de7a55ad6e8c22dfcc12733ab671 /meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch
parenta42f84682fb0522beacfb445ccfd482fe536d629 (diff)
downloadpoky-d4b11e8f160350e4530e174d2c93e06fe90e48c6.tar.gz
binutils: Upgrade to 2.24
This builds and runs images for all qemu machines (From OE-Core rev: 015eca84f1b0f25868b47d2480bb60cea698f70e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch')
-rw-r--r--meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch b/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch
new file mode 100644
index 0000000000..6e732fbd0a
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch
@@ -0,0 +1,22 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3don't let the distro compiler point to the wrong installation location
4
5Thanks to RP for helping find the source code causing the issue.
6
72010/08/13
8Nitin A Kamble <nitin.a.kamble@intel.com>
9Index: binutils-2.22/libiberty/Makefile.in
10===================================================================
11--- binutils-2.22.orig/libiberty/Makefile.in
12+++ binutils-2.22/libiberty/Makefile.in
13@@ -350,7 +350,8 @@ install-strip: install
14 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
15 # default multilib, so we have to take CFLAGS into account as well,
16 # since it will be passed the multilib flags.
17-MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
18+#MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
19+MULTIOSDIR = ""
20 install_to_libdir: all
21 ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
22 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n