diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-06-17 17:11:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-23 11:50:07 +0100 |
commit | 0faa5f72999fea82fadda8bab70abea2303216c7 (patch) | |
tree | 05a8c18d2f67d883f94d2bd6f060ab0f4ac7f156 /meta/recipes-devtools/gcc/gcc-4.6/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch | |
parent | c2007ba4cdb64fa9e308d3dae395c03ef4cc9161 (diff) | |
download | poky-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/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch b/meta/recipes-devtools/gcc/gcc-4.6/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch new file mode 100644 index 0000000000..05b2fa96c2 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.6/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | # by default c++ include directories are not relative to "--sysroot" | ||
4 | # which brings one trouble when using the toolchain in an environment | ||
5 | # where the build directory generating that toolchain doesn't exist, | ||
6 | # e.g. in sstate, machine specific sysroot and relocatable SDK | ||
7 | # toolchain. This patch now enables c++ include paths under sysroot. | ||
8 | # This way it's enough as long as "--sysroot" is correctly enabled | ||
9 | # in the new environment. | ||
10 | # | ||
11 | # Signed-off-by Kevin Tian <kevin.tian@intel.com>, 2010-12-30 | ||
12 | |||
13 | Index: gcc-4.6.0/gcc/cppdefault.c | ||
14 | =================================================================== | ||
15 | --- gcc-4.6.0.orig/gcc/cppdefault.c | ||
16 | +++ gcc-4.6.0/gcc/cppdefault.c | ||
17 | @@ -48,15 +48,15 @@ const struct default_include cpp_include | ||
18 | = { | ||
19 | #ifdef GPLUSPLUS_INCLUDE_DIR | ||
20 | /* Pick up GNU C++ generic include files. */ | ||
21 | - { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1, 0, 0 }, | ||
22 | + { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1, 1, 0 }, | ||
23 | #endif | ||
24 | #ifdef GPLUSPLUS_TOOL_INCLUDE_DIR | ||
25 | /* Pick up GNU C++ target-dependent include files. */ | ||
26 | - { GPLUSPLUS_TOOL_INCLUDE_DIR, "G++", 1, 1, 0, 1 }, | ||
27 | + { GPLUSPLUS_TOOL_INCLUDE_DIR, "G++", 1, 1, 1, 1 }, | ||
28 | #endif | ||
29 | #ifdef GPLUSPLUS_BACKWARD_INCLUDE_DIR | ||
30 | /* Pick up GNU C++ backward and deprecated include files. */ | ||
31 | - { GPLUSPLUS_BACKWARD_INCLUDE_DIR, "G++", 1, 1, 0, 0 }, | ||
32 | + { GPLUSPLUS_BACKWARD_INCLUDE_DIR, "G++", 1, 1, 1, 0 }, | ||
33 | #endif | ||
34 | #ifdef GCC_INCLUDE_DIR | ||
35 | /* This is the dir for gcc's private headers. */ | ||