From 06ac4c3b134ed302551fd78bb91a9f04efc6b1e3 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Mon, 22 Mar 2021 14:39:06 +0100 Subject: RISC-V: drop duplicate or unneeded cflags -pipe -Wall is specified in top-level Makefile. Disabling warnings is unneeded on the arch and is a left-over from MIPS port probably. Signed-off-by: Ahmad Fatoum Signed-off-by: Sascha Hauer --- arch/riscv/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'arch') diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index 8cd5f51e30..edf3a971e6 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -7,9 +7,7 @@ ifeq ($(CONFIG_ARCH_RV32I),y) riscv-ldflags-y += -melf32lriscv endif -cflags-y += -fno-pic -pipe -cflags-y += -Wall -Wstrict-prototypes \ - -Wno-uninitialized -Wno-format -Wno-main -mcmodel=medany +cflags-y += -fno-pic -Wstrict-prototypes -mcmodel=medany LDFLAGS_barebox += -nostdlib -- cgit v1.2.3