diff options
author | simonb <simonb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-16 17:14:05 +0000 |
---|---|---|
committer | simonb <simonb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-16 17:14:05 +0000 |
commit | 52bc861d91439efe60110d1b64280e401ddcf902 (patch) | |
tree | 709320b578253406cba90335431f68194bf6b70a /gcc/c-family/c-opts.c | |
parent | b5228c55900494653f0f2050af2b7a5969461594 (diff) | |
download | ppe42-gcc-52bc861d91439efe60110d1b64280e401ddcf902.tar.gz ppe42-gcc-52bc861d91439efe60110d1b64280e401ddcf902.zip |
* include/cpplib.h (struct cpp_options): Add canonical_system_headers.
* files.c (find_file_in_dir): Call maybe_shorter_path() only if
canonical_system_headers is set.
* init.c (cpp_create_reader): Initialize canonical_system_headers.
* configure.ac: Add new --enable-canonical-system-headers.
* configure: Regenerate.
* config.in: Regenerate.
* doc/cppopts.texi: Document -f[no-]canonical-system-headers.
* doc/install.texi: Document --enable-canonical-system-headers.
* c.opt: Add f[no-]canonical-system-headers.
* c-opts.c (c_common_handle_option): Handle
OPT_fcanonical_system_headers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193569 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/c-opts.c')
-rw-r--r-- | gcc/c-family/c-opts.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c index d86a1651b93..488c085f4fb 100644 --- a/gcc/c-family/c-opts.c +++ b/gcc/c-family/c-opts.c @@ -456,6 +456,10 @@ c_common_handle_option (size_t scode, const char *arg, int value, handle_OPT_d (arg); break; + case OPT_fcanonical_system_headers: + cpp_opts->canonical_system_headers = value; + break; + case OPT_fcond_mismatch: if (!c_dialect_cxx ()) { |