diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-18 06:26:11 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-18 06:26:11 +0000 |
commit | 7df49dcca397f2df5776f38758e3fafeedb3434b (patch) | |
tree | c2cadccf8479ae4d3701c113537f759ed5d01bf6 /gcc/cppinit.c | |
parent | c26fe6680d31675adccab191482af08cf758e8c6 (diff) | |
download | gcc-7df49dcca397f2df5776f38758e3fafeedb3434b.tar.gz |
PR preprocessor/7602
* cppinit.c (path_include): Treat the system environment
variables as being cxx_aware.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56416 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 5b3aab2ac0d..0c61086a225 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -178,7 +178,7 @@ path_include (pfile, list, path) name[q - p] = 0; } - append_include_chain (pfile, name, path, 0); + append_include_chain (pfile, name, path, path == SYSTEM); /* Advance past this name. */ if (*q == 0) |