This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Ping: Re: Add a configure option to disable system header canonicalizations (issue6495088)
- From: Simon Baldwin <simonb at google dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: reply at codereview dot appspotmail dot com, Ollie Wild <aaw at google dot com>, Ian Lance Taylor <iant at google dot com>
- Date: Fri, 21 Sep 2012 12:45:47 +0200
- Subject: Ping: Re: Add a configure option to disable system header canonicalizations (issue6495088)
Ping.
http://gcc.gnu.org/ml/gcc-patches/2012-09/msg00459.html
Full text of previous message and context at URL above. No comments
or code changes since. Patch description left below for convenience.
>
> Add flags to disable system header canonicalizations.
>
> Libcpp may canonicalize system header paths with lrealpath() for diagnostics,
> dependency output, and similar. If gcc is held in a symlink farm the
> canonicalized paths may be meaningless to users, and will also conflict with
> build frameworks that (for example) disallow absolute paths to header files.
>
> This change adds -f[no-]canonical-system-headers to the gcc command line, and
> a configure option --[en/dis]able-canonical-system-headers to set default
> behaviour, allowing the user to select whether or not to implement r186991.
> Default is enabled. See also PR c++/52974.
>
> Tested for regressions with bootstrap builds of C and C++, both with and
> without configure --disable-canonical-system-headers.
--
Google UK Limited | Registered Office: Belgrave House, 76 Buckingham
Palace Road, London SW1W 9TQ | Registered in England Number: 3977902