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
diff --git a/Android.bp b/Android.bp
index a84f379..a3eb65d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -81,6 +81,7 @@
],
cflags: [
+ "-fno-strict-aliasing",
"-D_GNU_SOURCE",
"-DCONFIG_LIBNL20",