Commits
Roy Liu authored 679c9122893
1 + | --- gcc/c-incpath.c.orig 2011-11-10 20:34:44.000000000 -0500 |
2 + | +++ gcc/c-incpath.c 2011-11-10 20:34:44.000000000 -0500 |
3 + | |
4 + | char *str; |
5 + | |
6 + | /* Should this directory start with the sysroot? */ |
7 + | - if (sysroot && p->add_sysroot) |
8 + | - str = concat (sysroot, p->fname, NULL); |
9 + | - else |
10 + | - str = update_path (p->fname, p->component); |
11 + | + str = update_path (p->fname, p->component); |
12 + | |
13 + | add_path (str, SYSTEM, p->cxx_aware, false); |
14 + | } |