From d8d81d4a5d0e5aaef5a005a357d3b9ed2b7cc4b2 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Sun, 16 Sep 2018 22:35:29 -0700 Subject: config.mk: Remove duplicated -fno-strict-aliasing Now that we already disable the "strict-aliasing" globally, remove the duplicates in the nds32/riscv/x86 arch-specific Makefiles. Signed-off-by: Bin Meng Reviewed-by: Rick Chen Reviewed-by: Simon Glass --- arch/nds32/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/nds32') diff --git a/arch/nds32/config.mk b/arch/nds32/config.mk index cb3d8b35b5..c5520fd8d8 100644 --- a/arch/nds32/config.mk +++ b/arch/nds32/config.mk @@ -15,7 +15,7 @@ endif CONFIG_STANDALONE_LOAD_ADDR = 0x300000 \ -T $(srctree)/examples/standalone/nds32.lds -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -mrelax +PLATFORM_RELFLAGS += -fno-common -mrelax PLATFORM_RELFLAGS += -gdwarf-2 PLATFORM_CPPFLAGS += -D__nds32__ -G0 -ffixed-10 -fpie -- cgit v1.2.3