lkml.org 
[lkml]   [2019]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] riscv: drop unneeded -Wall addition
Date
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(-)

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
--
2.17.1
\
 
 \ /
  Last update: 2019-05-15 06:29    [W:0.023 / U:13.536 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site