summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-06-17 17:11:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 11:50:07 +0100
commit0faa5f72999fea82fadda8bab70abea2303216c7 (patch)
tree05a8c18d2f67d883f94d2bd6f060ab0f4ac7f156 /meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch
parentc2007ba4cdb64fa9e308d3dae395c03ef4cc9161 (diff)
downloadpoky-0faa5f72999fea82fadda8bab70abea2303216c7.tar.gz
gcc-4.6: Switch to using svn SRC_URI for recipe
We call the recipes 4.6 Remove the backport patches (From OE-Core rev: 68b545f4ff719f2b6e57d68b002dc9845c7a14ae) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch b/meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch
new file mode 100644
index 0000000000..84962e6d46
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.6/64bithack.patch
@@ -0,0 +1,35 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3By default gcc places 64 bit libs in a lib64 directory. This makes it use
4"lib" instead.
5
6RP 25/7/10
7
8Index: gcc-4.6.0/gcc/config/i386/t-linux64
9===================================================================
10--- gcc-4.6.0.orig/gcc/config/i386/t-linux64
11+++ gcc-4.6.0/gcc/config/i386/t-linux64
12@@ -24,8 +24,8 @@
13 # MULTILIB_OSDIRNAMES according to what is found on the target.
14
15 MULTILIB_OPTIONS = m64/m32
16-MULTILIB_DIRNAMES = 64 32
17-MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
18+MULTILIB_DIRNAMES = . 32
19+MULTILIB_OSDIRNAMES = . $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
20
21 LIBGCC = stmp-multilib
22 INSTALL_LIBGCC = install-multilib
23Index: gcc-4.6.0/gcc/config/i386/linux64.h
24===================================================================
25--- gcc-4.6.0.orig/gcc/config/i386/linux64.h
26+++ gcc-4.6.0/gcc/config/i386/linux64.h
27@@ -63,7 +63,7 @@ see the files COPYING3 and COPYING.RUNTI
28 done. */
29
30 #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
31-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
32+#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2"
33
34 #if TARGET_64BIT_DEFAULT
35 #define SPEC_32 "m32"