Fix gcc 16 build.

TEST=local build
Bug: https://github.com/dart-lang/sdk/issues/63406
Change-Id: I20c2806e569211ef7d32e95961179dbf2aba15a9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/505181
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Ryan Macnak
2026-05-20 19:36:12 -07:00
committed by dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent 595cc71901
commit 2f2a523818
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -687,6 +687,7 @@ if (is_win) {
} else {
default_warning_flags += [
"-Wno-ignored-qualifiers", # Warnings in BoringSSL headers
"-Wno-stringop-overflow", # ICU in gcc 16
]
if (is_tsan && current_cpu == "riscv64") {
default_warning_flags += [