summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-03-22 14:39:06 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-03-23 12:16:25 +0100
commit06ac4c3b134ed302551fd78bb91a9f04efc6b1e3 (patch)
tree8f9f8d136c5c241c1593c6716f1b50ac498c9136 /arch
parentd2409e089c9675d37ade7a35a433b8e7f93effb6 (diff)
downloadbarebox-06ac4c3b134ed302551fd78bb91a9f04efc6b1e3.tar.gz
barebox-06ac4c3b134ed302551fd78bb91a9f04efc6b1e3.tar.xz
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 <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/Makefile4
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