summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-01-22 16:51:53 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-01-22 16:51:53 +0100
commit68bf9ac203e3f06bc7642382c7654bc9ed8381d6 (patch)
treed09662cf90a5e0a10fd2c140d5712ad15d1c7783 /recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch
parent741d7a4eaceec42e3206fcd287729abb0efd4af9 (diff)
downloadmeta-openembedded-68bf9ac203e3f06bc7642382c7654bc9ed8381d6.tar.gz
binutils: import 2.20.1 from yocto
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch')
-rw-r--r--recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch b/recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch
new file mode 100644
index 0000000000..36a14d7a18
--- /dev/null
+++ b/recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch
@@ -0,0 +1,20 @@
1don't let the distro compiler point to the wrong installation location
2
3Thanks to RP for helping find the source code causing the issue.
4
52010/08/13
6Nitin A Kamble <nitin.a.kamble@intel.com>
7Index: binutils-2.20.1/libiberty/Makefile.in
8===================================================================
9--- binutils-2.20.1.orig/libiberty/Makefile.in
10+++ binutils-2.20.1/libiberty/Makefile.in
11@@ -327,7 +327,8 @@ install: install_to_$(INSTALL_DEST) inst
12 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
13 # default multilib, so we have to take CFLAGS into account as well,
14 # since it will be passed the multilib flags.
15-MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
16+#MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
17+MULTIOSDIR = ""
18 install_to_libdir: all
19 ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
20 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n