]> git.ipfire.org Git - thirdparty/ccache.git/commit
fix: Bail out on too hard MSVC environment variables CL and _CL_
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 26 Mar 2022 11:20:32 +0000 (12:20 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 26 Mar 2022 11:43:22 +0000 (12:43 +0100)
commita2988ace17d61dd8bb1342ffa8b500471307ebde
tree5b27445e19cc2fd11a0870774d3dc1d72dbc04e3
parentf33f654f90b7cd251c09c5b8a7c2cd5ab1d7c830
fix: Bail out on too hard MSVC environment variables CL and _CL_

To handle the CL and _CL_ variables properly, ccache needs to parse them
according to [1] and then include the compiler options as part of
regular argument processing. Until that is done we have to bail out and
just run the original compiler.

[1]: https://docs.microsoft.com/en-us/cpp/build/reference/cl-environment-variables?view=msvc-170

Fixes #1022.
doc/MANUAL.adoc
src/ccache.cpp
src/core/Statistic.hpp
src/core/Statistics.cpp