commit:     18ad0c1a648cfb97fde0f08f848f0ed75fc4c083
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  7 20:44:57 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr  7 20:48:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18ad0c1a

kernel-build.eclass: disable -Werror (for host tools at least)

WERROR=0 disables -Werror for host tools at least, so let's use that. I'll
also send a config change.

Bug: https://bugs.gentoo.org/939106
Bug: https://bugs.gentoo.org/940904
Bug: https://bugs.gentoo.org/942303
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/kernel-build.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index 1d8c396b9590..ee4cf1413a60 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -207,6 +207,7 @@ kernel-build_src_configure() {
        tc-export_build_env
        MAKEARGS=(
                V=1
+               WERROR=0
 
                HOSTCC="$(tc-getBUILD_CC)"
                HOSTCXX="$(tc-getBUILD_CXX)"

Reply via email to