mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
[build] Make clang-cl targeting ia32 to be goma-compatible.
Stack-alignment flags are not supported by clang-cl, warning messages produced by clang-cl throw off gomas compiler version detection. Change-Id: I259ed57e72f6c26eb1f01ac2c6dd49ec2e90978c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/157100 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Aprelev <aam@google.com>
This commit is contained in:
parent
ebd5b622ba
commit
ea43e6e267
|
@ -377,7 +377,7 @@ config("compiler") {
|
|||
# configs -= [ "//build/config/compiler:clang_stackrealign" ]
|
||||
# See https://crbug.com/556393 for details of where it must be avoided.
|
||||
config("clang_stackrealign") {
|
||||
if (is_clang && current_cpu == "x86" && !is_nacl) {
|
||||
if (is_clang && current_cpu == "x86" && !is_nacl && !is_win) {
|
||||
cflags = [
|
||||
# Align the stack on 16-byte boundaries, http://crbug.com/418554.
|
||||
"-mstack-alignment=16",
|
||||
|
|
Loading…
Reference in a new issue