Remove "-Wno-over-aligned" from x86 Android builds
We now build without requiring disabling this warning. Came up in https://android-review.googlesource.com/498211 Bug: b/66996870 Change-Id: Ife596240507b3c055d2fabd08330828f8a5dbb9c Reviewed-on: https://skia-review.googlesource.com/60530 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Leon Scroggins <scroggo@google.com>
This commit is contained in:
parent
119f6c85c1
commit
53418dbb6a
@ -308,9 +308,8 @@ config("warnings") {
|
||||
"-Wno-unknown-warning-option", # Let older Clangs ignore newer Clangs' warnings.
|
||||
]
|
||||
|
||||
if ((target_cpu == "x86" && is_android) ||
|
||||
(target_cpu == "arm" && is_ios)) {
|
||||
# Clang seems to think new/malloc will only be 4-byte aligned on x86 Android and 32-bit iOS.
|
||||
if (target_cpu == "arm" && is_ios) {
|
||||
# Clang seems to think new/malloc will only be 4-byte aligned on 32-bit iOS.
|
||||
# We're pretty sure it's actually 8-byte alignment.
|
||||
cflags += [ "-Wno-over-aligned" ]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user