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/riscv/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/riscv/config.mk') diff --git a/arch/riscv/config.mk b/arch/riscv/config.mk index 219e66683d..c0b3858edd 100644 --- a/arch/riscv/config.mk +++ b/arch/riscv/config.mk @@ -31,7 +31,7 @@ CONFIG_STANDALONE_LOAD_ADDR = 0x00000000 \ -T $(srctree)/examples/standalone/riscv.lds PLATFORM_CPPFLAGS += -ffixed-gp -fpic -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -gdwarf-2 -ffunction-sections +PLATFORM_RELFLAGS += -fno-common -gdwarf-2 -ffunction-sections LDFLAGS_u-boot += --gc-sections -static -pie EFI_CRT0 := crt0_riscv_efi.o -- cgit