Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: remove -Werror from Makefiles

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>

authored by

Christoph Hellwig and committed by
Rich Felker
ccbb5239 91194e9b

-6
-2
arch/sh/kernel/Makefile
··· 47 47 obj-$(CONFIG_PERF_EVENTS) += perf_event.o perf_callchain.o 48 48 obj-$(CONFIG_DMA_NONCOHERENT) += dma-coherent.o 49 49 obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o 50 - 51 - ccflags-y := -Werror
-2
arch/sh/lib/Makefile
··· 30 30 lib-$(CONFIG_MMU) += copy_page.o __clear_user.o 31 31 lib-$(CONFIG_MCOUNT) += mcount.o 32 32 lib-y += $(memcpy-y) $(memset-y) $(udivsi3-y) 33 - 34 - ccflags-y := -Werror
-2
arch/sh/mm/Makefile
··· 43 43 obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o 44 44 45 45 GCOV_PROFILE_pmb.o := n 46 - 47 - ccflags-y := -Werror