diff options
-rw-r--r-- | arch/riscv/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
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 |