commit:     d1794094b300d9c8c926dde038b88fd06854ae6d
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  1 15:04:28 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Jun  1 15:13:03 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1794094

linux-mod-r1.eclass: disable CONFIG_OBJTOOL_WERROR

New in 6.15 and notably causes nvidia-drivers[-kernel-open] to fail.

It's off-by-default in the kernel, but description does say to enable
it if unsure so some users may enable it.

(skipping ML review, rather trivial)

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 eclass/linux-mod-r1.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/linux-mod-r1.eclass b/eclass/linux-mod-r1.eclass
index 16c280219ef8..786e0fb79619 100644
--- a/eclass/linux-mod-r1.eclass
+++ b/eclass/linux-mod-r1.eclass
@@ -1259,6 +1259,7 @@ _modules_set_makeargs() {
                # unrealistic when building modules that often have slow 
releases,
                # but note that the kernel will still pass some 
-Werror=bad-thing
                CONFIG_WERROR=
+               CONFIG_OBJTOOL_WERROR=
 
                # these are only needed if using these arguments for 
installing, lets
                # eclass handle strip, sign, compress, and depmod (CONFIG_ 
should

Reply via email to