aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r--gn/BUILD.gn5
1 files changed, 2 insertions, 3 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index dd2884997d..db8f8345d2 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -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" ]
}