mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Bazel: fix transition on non-macOS
This commit is contained in:
@@ -31,12 +31,15 @@ def _transition_impl(settings, attr):
|
||||
"//command_line_option:cxxopt": [
|
||||
"-std=c++20",
|
||||
],
|
||||
"//command_line_option:linkopt": [],
|
||||
},
|
||||
"windows": {
|
||||
"//command_line_option:copt": [],
|
||||
"//command_line_option:cxxopt": [
|
||||
"/std:c++20",
|
||||
"--cxxopt=/Zc:preprocessor",
|
||||
],
|
||||
"//command_line_option:linkopt": [],
|
||||
},
|
||||
}[attr.os]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user