Files
MINGW-packages/mingw-w64-angleproject/006-spirv-updates.patch
Raed Rizqie b1e6a41c9d angleproject: update to 2.1.r25748.890b5d8f (#24941)
- rebase most patches
- enable d3d11 compositor
- enable swiftshader on mingw64 and ucrt64
2025-07-25 04:18:46 +00:00

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" ]