--- gcc-3.4.6.old/gcc/cppdefault.c +++ gcc-3.4.6/gcc/cppdefault.c @@ -58,9 +58,14 @@ /* Pick up GNU C++ backward and deprecated include files. */ { GPLUSPLUS_BACKWARD_INCLUDE_DIR, "G++", 1, 1, 0 }, #endif + { "__META_SYSTREE__/include" , 0, 0, 1, 1, 0 } , + { "__META_SYSTREE__/pkg/syslib/include" , 0, 0, 1, 1, 0 } , + { "__META_SYSTREE__/pkg/glibc/include" , 0, 0, 1, 1, 0 } , + { "__META_SYSTREE__/pkg/musl/include" , 0, 0, 1, 1, 0 } , + { "__META_SYSTREE__/toolchain/include" , 0, 0, 1, 1, 0 } , #ifdef LOCAL_INCLUDE_DIR - /* /usr/local/include comes before the fixincluded header files. */ - { LOCAL_INCLUDE_DIR, 0, 0, 1, 1 }, + { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 2 }, + { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 0 }, #endif #ifdef PREFIX_INCLUDE_DIR { PREFIX_INCLUDE_DIR, 0, 0, 1, 0 },