Skip to content

Commit 47d7d4d

Browse files
eseidelCommit Queue
authored andcommitted
fix: gcc builds broken by clang-only warning flag
Closes #60422 GitOrigin-RevId: 8e32b0b Change-Id: I034d5db35873c065fa83d1407ce7674476884abb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418662 Commit-Queue: Alexander Aprelev <[email protected]> Reviewed-by: Alexander Aprelev <[email protected]>
1 parent a1044b6 commit 47d7d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ config("dart_config") {
243243
}
244244
} else {
245245
cflags = [
246-
"-Wnewline-eof", # Flutter compiles with this (to match Fuchsia).
247246
"-Wno-unused-parameter",
248247
"-Wno-unused-private-field",
249248
"-Wnon-virtual-dtor",
@@ -257,6 +256,7 @@ config("dart_config") {
257256
]
258257
if (is_clang) {
259258
cflags += [
259+
"-Wnewline-eof", # Flutter compiles with this (to match Fuchsia).
260260
"-Wimplicit-fallthrough",
261261
"-fno-strict-vtable-pointers", # Handle assignment updates vtable
262262
# pointers.

0 commit comments

Comments
 (0)