mirror of
https://github.com/dart-lang/sdk
synced 2024-10-02 23:49:17 +00:00
[build] Fix MSVC build.
Change-Id: I0336a501e81392ce8e416958242e61d6b3226a9f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/317560 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
parent
08f2bc1e60
commit
1f87e88a97
12
third_party/binaryen/BUILD.gn
vendored
12
third_party/binaryen/BUILD.gn
vendored
|
@ -8,13 +8,13 @@ config("binaryen_warnings") {
|
|||
if (is_clang) {
|
||||
cflags = [ "-Wno-unused-but-set-parameter" ]
|
||||
} else if (!is_win) {
|
||||
cflags = [ "-Wno-unused-variable" ]
|
||||
}
|
||||
cflags = [
|
||||
"-Wno-unused-variable",
|
||||
|
||||
if (!is_clang) {
|
||||
# Bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86465#c16 triggered by
|
||||
# https://github.com/WebAssembly/binaryen/blob/cdb7aeab40b4c522de20b242019f7e88641445d5/src/wasm/wasm-type.cpp#L530.
|
||||
cflags += [ "-Wno-maybe-uninitialized" ]
|
||||
# Bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86465#c16 triggered by
|
||||
# https://github.com/WebAssembly/binaryen/blob/cdb7aeab40b4c522de20b242019f7e88641445d5/src/wasm/wasm-type.cpp#L530.
|
||||
"-Wno-maybe-uninitialized",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue