diff mbox series

riscv: drop unneeded -Wall addition

Message ID 20190515042721.8752-1-yamada.masahiro@socionext.com
State Accepted
Commit b74c0cad3d5f4f2252f1a42e160dc0e202e88e93
Headers show
Series riscv: drop unneeded -Wall addition | expand

Commit Message

Masahiro Yamada May 15, 2019, 4:27 a.m. UTC
The top level Makefile adds -Wall globally:

  KBUILD_CFLAGS   := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \

For riscv, I see two "-Wall" added for compiling each object.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 arch/riscv/Makefile | 2 --
 1 file changed, 2 deletions(-)

-- 
2.17.1
diff mbox series

Patch

diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index c6342e638ef7..8f7368575bf6 100644
--- a/arch/riscv/Makefile
+++ b/arch/riscv/Makefile
@@ -36,8 +36,6 @@  else
 	KBUILD_LDFLAGS += -melf32lriscv
 endif
 
-KBUILD_CFLAGS += -Wall
-
 # ISA string setting
 riscv-march-$(CONFIG_ARCH_RV32I)	:= rv32im
 riscv-march-$(CONFIG_ARCH_RV64I)	:= rv64im