-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix -showIncludes prefix detection for clang.exe on Windows.
clang.exe reports the same set of built-in preprocessor defines as clang-cl.exe, but it doesn't accept MSVC commandline options unless you pass --driver-mode=cl. This breaks sccache's test for the -showIncludes prefix. We fix this by always passing --driver-mode=cl for this test when we detect clang or clang-cl.
- Loading branch information
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters