summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-3.4.4/zecke-no-host-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-3.4.4/zecke-no-host-includes.patch')
-rw-r--r--meta/packages/gcc/gcc-3.4.4/zecke-no-host-includes.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/gcc/gcc-3.4.4/zecke-no-host-includes.patch b/meta/packages/gcc/gcc-3.4.4/zecke-no-host-includes.patch
index 069a965012..85d108d9fb 100644
--- a/meta/packages/gcc/gcc-3.4.4/zecke-no-host-includes.patch
+++ b/meta/packages/gcc/gcc-3.4.4/zecke-no-host-includes.patch
@@ -16,13 +16,13 @@ Index: gcc-3.4.4/gcc/c-incpath.c
16+ { 16+ {
17+ /* printf("Adding Path: %s\n", p->name ); */ 17+ /* printf("Adding Path: %s\n", p->name ); */
18+ if( strstr(p->name, "/usr/include" ) == p->name ) { 18+ if( strstr(p->name, "/usr/include" ) == p->name ) {
19+ fprintf(stderr, _("CROSS COMPILE Badness: /usr/include in INCLUDEPATH: %s\n"), 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(); 20+ abort();
21+ } else if( strstr(p->name, "/sw/include") == p->name ) { 21+ } else if( strstr(p->name, "/sw/include") == p->name ) {
22+ fprintf(stderr, _("CROSS COMPILE Badness: /sw/include in INCLUDEPATH: %s\n"), 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(); 23+ abort();
24+ } else if( strstr(p->name, "/opt/include") == p->name ) { 24+ } else if( strstr(p->name, "/opt/include") == p->name ) {
25+ fprintf(stderr, _("CROSS COMPILE Badness: /opt/include in INCLUDEPATH: %s\n"), 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(); 26+ abort();
27+ } 27+ }
28+ } 28+ }