Remove -fstrict-aliasing from arm32.

Our global default is -fno-strict-aliasing (including for 32-bit x86),
so let's avoid a source of arm32-only bugs.

Bug: http://b/31600139
Test: treehugger
Change-Id: Iaf3069200b2969718593387dc5b756c574a5d68a
This commit is contained in:
Elliott Hughes 2023-06-30 19:31:57 +00:00
parent fa076a74f8
commit 9bbe96068d

View file

@ -43,9 +43,7 @@ var (
armNoFixCortexA8LdFlags = []string{"-Wl,--no-fix-cortex-a8"}
armArmCflags = []string{
"-fstrict-aliasing",
}
armArmCflags = []string{}
armThumbCflags = []string{
"-mthumb",