Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9bbe9606 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

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
parent fa076a74
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -43,9 +43,7 @@ var (

	armNoFixCortexA8LdFlags = []string{"-Wl,--no-fix-cortex-a8"}

	armArmCflags = []string{
		"-fstrict-aliasing",
	}
	armArmCflags = []string{}

	armThumbCflags = []string{
		"-mthumb",