Merge tag 'io_uring-5.15-2021-09-11' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / init / Kconfig
index e708180..11f8a84 100644 (file)
@@ -137,6 +137,20 @@ config COMPILE_TEST
          here. If you are a user/distributor, say N here to exclude useless
          drivers to be distributed.
 
+config WERROR
+       bool "Compile the kernel with warnings as errors"
+       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.
+
+         However, if you have a new (or very old) compiler with odd and
+         unusual warnings, or you have some architecture with problems,
+         you may need to disable this config option in order to
+         successfully build the kernel.
+
+         If in doubt, say Y.
+
 config UAPI_HEADER_TEST
        bool "Compile test UAPI headers"
        depends on HEADERS_INSTALL && CC_CAN_LINK