Skip to content

Commit

Permalink
sh: remove -Werror from Makefiles
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Rich Felker committed Aug 15, 2020
1 parent 91194e9 commit ccbb523
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions arch/sh/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions arch/sh/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions arch/sh/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ccbb523

Please sign in to comment.