From 6980429bd4c01a716c9168b05dd2f805b7e35940 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 2 Jun 2020 14:12:28 +0200 Subject: [PATCH] ARM: remove contradictory flag -fno-strict-aliasing as we have -fstrict-aliasing in Makefile.common --- armsrc/Makefile | 2 +- bootrom/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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