Skip to content

Commit

Permalink
Fix buildbots by not adding unsupported flags when building on Mac. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde authored Oct 27, 2018
1 parent 58c5b8d commit 8b75164
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build/config/compiler/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,12 @@ config("compiler") {
"-funwind-tables",
"-fno-short-enums",
"-nostdinc++",
"-Wa,--noexecstack",

# TODO(kf6gpe): -Wa,--noexecstack is not supported by the Mac toolchain
# with targeting Android. https://github.com/flutter/flutter/issues/23606
# "-Wa,--noexecstack",
"-Wformat",
"-Wformat-security"
"-Wformat-security",
]
if (!is_clang) {
# Clang doesn't support these flags.
Expand Down

0 comments on commit 8b75164

Please sign in to comment.