s390: drop unneeded -Wall addition from tools Makefile
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 17 May 2019 07:54:25 +0000 (16:54 +0900)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 4 Jun 2019 13:03:29 +0000 (15:03 +0200)
The top level Makefile adds -Wall globally for all host tools:

  KBUILD_HOSTCFLAGS   := -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 \

I see two "-Wall" added for compiling these tools.

Of course, it is allowed to pass the same option multiple times, but
we do not need to do so.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/tools/Makefile

index 4ff6a21245223fa70efc75a2b0e395c95211a0f4..8fb66c99840ae92024d88569c4eb6213f7f5eea8 100644 (file)
@@ -14,8 +14,7 @@ kapi: $(kapi-hdrs-y)
 hostprogs-y                += gen_facilities
 hostprogs-y                += gen_opcode_table
 
-HOSTCFLAGS_gen_facilities.o += -Wall $(LINUXINCLUDE)
-HOSTCFLAGS_gen_opcode_table.o += -Wall
+HOSTCFLAGS_gen_facilities.o += $(LINUXINCLUDE)
 
 # Ensure output directory exists
 _dummy := $(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)')