diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-06-21 16:08:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-25 16:35:53 +0100 |
commit | 08e15c25992dee692f5e2d2966690d42f04afaf9 (patch) | |
tree | 9af86288290add5d9184dde01c77785a39c700eb /meta/recipes-devtools/gcc/gcc-csl-arm/zecke-no-host-includes.patch | |
parent | 92e20d13c819c0c1933706b22ffc3478ab76e7d0 (diff) | |
download | poky-08e15c25992dee692f5e2d2966690d42f04afaf9.tar.gz |
gcc: Remove csl gcc recipes
sourcery toolchain is available as external pluggable toolchain
if needed.
(From OE-Core rev: 7d0c7a759c29669b2b5828fd75837926506acd87)
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-csl-arm/zecke-no-host-includes.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-csl-arm/zecke-no-host-includes.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-csl-arm/zecke-no-host-includes.patch b/meta/recipes-devtools/gcc/gcc-csl-arm/zecke-no-host-includes.patch deleted file mode 100644 index 1695582954..0000000000 --- a/meta/recipes-devtools/gcc/gcc-csl-arm/zecke-no-host-includes.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Index: gcc-4.0.2/gcc/c-incpath.c | ||
4 | =================================================================== | ||
5 | --- gcc-4.0.2.orig/gcc/c-incpath.c 2005-01-23 16:05:27.000000000 +0100 | ||
6 | +++ gcc-4.0.2/gcc/c-incpath.c 2006-05-15 21:23:02.000000000 +0200 | ||
7 | @@ -350,6 +350,26 @@ | ||
8 | p->construct = 0; | ||
9 | p->user_supplied_p = user_supplied_p; | ||
10 | |||
11 | +#ifdef CROSS_COMPILE | ||
12 | + /* A common error when cross compiling is including | ||
13 | + host headers. This code below will try to fail fast | ||
14 | + for cross compiling. Currently we consider /usr/include, | ||
15 | + /opt/include and /sw/include as harmful. */ | ||
16 | + { | ||
17 | + /* printf("Adding Path: %s\n", p->name ); */ | ||
18 | + if( strstr(p->name, "/usr/include" ) == p->name ) { | ||
19 | + fprintf(stderr, _("BUILD ISOLATION FAILURE: /usr/include in INCLUDEPATH: %s\n Please fix the flags passed to the compiler to use the correct prefix.\n"), p->name); | ||
20 | + abort(); | ||
21 | + } else if( strstr(p->name, "/sw/include") == p->name ) { | ||
22 | + fprintf(stderr, _("BUILD ISOLATION FAILURE: /sw/include in INCLUDEPATH: %s\n Please fix the flags passed to the compiler to use the correct prefix.\n"), p->name); | ||
23 | + abort(); | ||
24 | + } else if( strstr(p->name, "/opt/include") == p->name ) { | ||
25 | + fprintf(stderr, _("BUILD ISOLATION FAILURE: /opt/include in INCLUDEPATH: %s\n Please fix the flags passed to the compiler to use the correct prefix.\n"), p->name); | ||
26 | + abort(); | ||
27 | + } | ||
28 | + } | ||
29 | +#endif | ||
30 | + | ||
31 | add_cpp_dir_path (p, chain); | ||
32 | } | ||
33 | |||