mac newsdk: build glfw with -Wno-objc-multiple-method-names

It invokes [NSObject center] which is ambiguous as of the 10.15 SDK.
For now, ignore the ambiguity; a proper upstream fix to glfw will
happen later.

Bug: chromium:973128
Change-Id: Ia0b4186294b16928f55d0a3417c7840e50e8754b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13260
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Elly Fong-Jones 2019-11-08 19:16:10 +00:00 committed by Commit Bot service account
parent 1678773560
commit 39b4b38f4f
1 changed files with 1 additions and 0 deletions

View File

@ -369,6 +369,7 @@ if (is_win || (is_linux && !is_chromeos) || is_mac) {
cflags_objc = [
"-Wno-sign-compare",
"-Wno-unguarded-availability",
"-Wno-objc-multiple-method-names",
]
}
}