Why do we see so many bogus strict-aliasing warnings? Because we asked GCC to
cause trouble on arm and mips.
Change-Id: I25d7fd036b6afff7ccfa799abe0dc1579ead2847
# bionic/__strcpy_chk.cpp \
# bionic/__strcat_chk.cpp \
-# cflags
-libc_common_cflags_arm := \
- -DSOFTFLOAT \
- -fstrict-aliasing
+libc_common_cflags_arm := -DSOFTFLOAT
##########################################
### CPU specific source files
bionic/__strcat_chk.cpp \
-# cflags
ifneq ($(ARCH_MIPS_HAS_FPU),true)
libc_common_cflags_mips := \
-DSOFTFLOAT
endif
-libc_common_cflags_mips += \
- -fstrict-aliasing
##########################################
### CPU specific source files