diff options
Diffstat (limited to 'meta/packages/gcc/gcc-3.4.4')
-rw-r--r-- | meta/packages/gcc/gcc-3.4.4/zecke-no-host-includes.patch | 6 |
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 + { + /* printf("Adding Path: %s\n", p->name ); */ + if( strstr(p->name, "/usr/include" ) == p->name ) { -+ fprintf(stderr, _("CROSS COMPILE Badness: /usr/include in INCLUDEPATH: %s\n"), p->name); ++ 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); + abort(); + } else if( strstr(p->name, "/sw/include") == p->name ) { -+ fprintf(stderr, _("CROSS COMPILE Badness: /sw/include in INCLUDEPATH: %s\n"), p->name); ++ 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); + abort(); + } else if( strstr(p->name, "/opt/include") == p->name ) { -+ fprintf(stderr, _("CROSS COMPILE Badness: /opt/include in INCLUDEPATH: %s\n"), p->name); ++ 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); + abort(); + } + } |