diff --git a/libc/arch-arm/arm.mk b/libc/arch-arm/arm.mk index 0e9beba6a..55f99783a 100644 --- a/libc/arch-arm/arm.mk +++ b/libc/arch-arm/arm.mk @@ -41,10 +41,7 @@ libc_common_src_files_arm += \ # 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 diff --git a/libc/arch-mips/mips.mk b/libc/arch-mips/mips.mk index 530c33f5a..0fa1ed6eb 100644 --- a/libc/arch-mips/mips.mk +++ b/libc/arch-mips/mips.mk @@ -43,13 +43,10 @@ libc_common_src_files_mips += \ 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