commit:     1269bac7932c667d9bd716aad07efebd00de9e95
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  9 21:55:50 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Oct 16 19:14:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1269bac7

cmake.eclass: set -DCMAKE_LINK_WARNING_AS_ERROR=OFF

As we already do for compiler -Werror.

Closes: https://bugs.gentoo.org/963830
Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/cmake.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 7526d492493f..7c825f87c367 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -636,6 +636,7 @@ cmake_src_configure() {
                set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF CACHE BOOL "")
                set(CMAKE_TLS_VERIFY ON CACHE BOOL "")
                set(CMAKE_COMPILE_WARNING_AS_ERROR OFF CACHE BOOL "")
+               set(CMAKE_LINK_WARNING_AS_ERROR OFF CACHE BOOL "")
        _EOF_
 
        if [[ -n ${_ECM_ECLASS} ]]; then

Reply via email to