-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 <a.fatoum@xxxxxxxxxxxxxx> --- arch/riscv/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index 8cd5f51e3052..edf3a971e615 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 -- 2.29.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox