]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 b0f5574b6228b31883d85eb38d3d58296c594121..aa0fbc9202b14e89464a82e22691619b1812c215 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 d0abbe5e38b0f362a02c6e43225bf894cfa9dc21..eb473d373ca43a4b6436041b5f456afa33412314 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 487da0ff03b3a704999e50ce4a534b37c86a47e8..f69ddc70b146583b9d39eded5a76051ed87cd9ee 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