diff --git a/armsrc/Makefile b/armsrc/Makefile index f9e33f5e5..23ac247c3 100644 --- a/armsrc/Makefile +++ b/armsrc/Makefile @@ -20,7 +20,7 @@ endif #in the next section to remove that particular feature from compilation. # NO space,TABs after the "\" sign. APP_CFLAGS = $(PLATFORM_DEFS) \ - -fno-strict-aliasing -ffunction-sections -fdata-sections + -ffunction-sections -fdata-sections SRC_LF = lfops.c lfsampling.c pcf7931.c lfdemod.c lfadc.c SRC_ISO15693 = iso15693.c iso15693tools.c diff --git a/bootrom/Makefile b/bootrom/Makefile index 785293ca6..75a4e5ced 100644 --- a/bootrom/Makefile +++ b/bootrom/Makefile @@ -23,7 +23,7 @@ VERSIONSRC = version.c # THUMBSRC := # stdint.h provided locally until GCC 4.5 becomes C99 compliant -APP_CFLAGS = -I. -fno-strict-aliasing -ffunction-sections -fdata-sections +APP_CFLAGS = -I. -ffunction-sections -fdata-sections # stack-protect , no-pie reduces size on Gentoo Hardened 8.2 gcc APP_CFLAGS += -fno-stack-protector -fno-pie