[PATCH] Partially revert "MIPS: Add -Werror to arch/mips/Kbuild"
authorBen Hutchings <ben@decadent.org.uk>
Mon, 13 Sep 2010 01:16:18 +0000 (02:16 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Wed, 10 Aug 2022 18:11:48 +0000 (19:11 +0100)
Forwarded: not-needed

This reverts commits 66f9ba101f54bda63ab1db97f9e9e94763d0651b and
5373633cc9253ba82547473e899cab141c54133e.

We really don't want to add -Werror anywhere.

Gbp-Pq: Topic debian
Gbp-Pq: Name mips-disable-werror.patch

arch/mips/Kbuild

index 9e8071f0e58ff1271c0bb118e12704838082aaba..ed09e894749b59cdee1415113d02f3ddb54da19e 100644 (file)
@@ -1,10 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0
-# Fail on warnings - also for files referenced in subdirs
-# -Werror can be disabled for specific files using:
-# CFLAGS_<file.o> := -Wno-error
-ifeq ($(W),)
-subdir-ccflags-y := -Werror
-endif
 
 # platform specific definitions
 include arch/mips/Kbuild.platforms