- rebase most patches - enable d3d11 compositor - enable swiftshader on mingw64 and ucrt64
23 lines
619 B
Diff
23 lines
619 B
Diff
diff --git a/BUILD.gn b/BUILD.gn
|
|
index 7cf33942..e12f62e1 100644
|
|
--- a/BUILD.gn
|
|
+++ b/BUILD.gn
|
|
@@ -188,7 +188,7 @@ config("spvtools_internal_config") {
|
|
"-Wno-unreachable-code-break",
|
|
"-Wno-unreachable-code-return",
|
|
]
|
|
- } else if (!is_win) {
|
|
+ } else if (!is_msvc) {
|
|
# Work around a false-positive on a Skia GCC 10 builder.
|
|
cflags += [ "-Wno-format-truncation" ]
|
|
} else {
|
|
@@ -196,7 +196,7 @@ config("spvtools_internal_config") {
|
|
cflags += [ "/Zc:__cplusplus" ]
|
|
}
|
|
|
|
- if (!is_win) {
|
|
+ if (!is_msvc) {
|
|
cflags += [ "-std=c++17" ]
|
|
} else {
|
|
cflags += [ "/std:c++17" ]
|