VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Marco Elver <elver@google.com> 2021-09-07 23:12:08 +0200 committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-09-07 18:47:04 -0700 commit: b339ec9c229aaf399296a120d7be0e34fbc355ca parent: 626bf91a292e2035af5b9d9cce35c5c138dfe06d
Commit Summary:
kbuild: Only default to -Werror if COMPILE_TEST
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/init/Kconfig b/init/Kconfig
index 8cb97f141b70..11f8a845f259 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -139,7 +139,7 @@ config COMPILE_TEST
 
 config WERROR
 	bool "Compile the kernel with warnings as errors"
-	default y
+	default COMPILE_TEST
 	help
 	  A kernel build should not cause any compiler warnings, and this
 	  enables the '-Werror' flag to enforce that rule by default.