diff options
author | Matthew Maurer <mmaurer@google.com> | 2022-04-27 11:20:10 -0700 |
---|---|---|
committer | Matthew Maurer <mmaurer@google.com> | 2022-04-27 11:20:10 -0700 |
commit | 940b3dabe32717012d8c279c804391d527aeb126 (patch) | |
tree | 18675cc50d63b84a78dd3be0548abe0767e282bb | |
parent | 8ed9da5ac516b30c4554ee55a35879a5a95458ac (diff) | |
download | iw-940b3dabe32717012d8c279c804391d527aeb126.tar.gz |
Explicitly set `-fno-strict-aliasing`
iw's own build system automatically adds `-fno-strict-aliasing` to
its compile flags. Android currently adds `-fstrict-aliasing` to arm32
builds by default. To ensure no miscompilations on arm32, explicitly set
`-fno-strict-aliasing` for the iw module.
Bug: 230627866
Test: mm
Change-Id: I8223dd9face5e74186adcb70e91cc06646bded7f
-rw-r--r-- | Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -81,6 +81,7 @@ cc_defaults { ], cflags: [ + "-fno-strict-aliasing", "-D_GNU_SOURCE", "-DCONFIG_LIBNL20", |