Skip to content

Commit ccbb523

Browse files
Christoph HellwigRich Felker
authored andcommitted
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 <[email protected]> Signed-off-by: Rich Felker <[email protected]>
1 parent 91194e9 commit ccbb523

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

arch/sh/kernel/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,3 @@ obj-$(CONFIG_DWARF_UNWINDER) += dwarf.o
4747
obj-$(CONFIG_PERF_EVENTS) += perf_event.o perf_callchain.o
4848
obj-$(CONFIG_DMA_NONCOHERENT) += dma-coherent.o
4949
obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o
50-
51-
ccflags-y := -Werror

arch/sh/lib/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,3 @@ memset-$(CONFIG_CPU_SH4) := memset-sh4.o
3030
lib-$(CONFIG_MMU) += copy_page.o __clear_user.o
3131
lib-$(CONFIG_MCOUNT) += mcount.o
3232
lib-y += $(memcpy-y) $(memset-y) $(udivsi3-y)
33-
34-
ccflags-y := -Werror

arch/sh/mm/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,3 @@ obj-$(CONFIG_UNCACHED_MAPPING) += uncached.o
4343
obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o
4444

4545
GCOV_PROFILE_pmb.o := n
46-
47-
ccflags-y := -Werror

0 commit comments

Comments
 (0)