sh: remove -Werror from Makefiles
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Jul 2020 12:18:47 +0000 (14:18 +0200)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:13 +0000 (22:05 -0400)
The sh build is full of warnings when building with gcc 9.2.1.  While
fixing those would be great, at least avoid failing the build.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/kernel/Makefile
arch/sh/lib/Makefile
arch/sh/mm/Makefile

index b0f5574..aa0fbc9 100644 (file)
@@ -47,5 +47,3 @@ obj-$(CONFIG_DWARF_UNWINDER)  += dwarf.o
 obj-$(CONFIG_PERF_EVENTS)      += perf_event.o perf_callchain.o
 obj-$(CONFIG_DMA_NONCOHERENT)  += dma-coherent.o
 obj-$(CONFIG_HAVE_HW_BREAKPOINT)               += hw_breakpoint.o
-
-ccflags-y := -Werror
index d0abbe5..eb473d3 100644 (file)
@@ -30,5 +30,3 @@ memset-$(CONFIG_CPU_SH4)      := memset-sh4.o
 lib-$(CONFIG_MMU)              += copy_page.o __clear_user.o
 lib-$(CONFIG_MCOUNT)           += mcount.o
 lib-y                          += $(memcpy-y) $(memset-y) $(udivsi3-y)
-
-ccflags-y := -Werror
index 487da0f..f69ddc7 100644 (file)
@@ -43,5 +43,3 @@ obj-$(CONFIG_UNCACHED_MAPPING)        += uncached.o
 obj-$(CONFIG_HAVE_SRAM_POOL)   += sram.o
 
 GCOV_PROFILE_pmb.o := n
-
-ccflags-y := -Werror