1 diff -up extra-cmake-modules-5.97.0/kde-modules/KDECompilerSettings.cmake.dd extra-cmake-modules-5.97.0/kde-modules/KDECompilerSettings.cmake
2 --- extra-cmake-modules-5.97.0/kde-modules/KDECompilerSettings.cmake.dd 2022-07-15 16:05:38.000000000 +0200
3 +++ extra-cmake-modules-5.97.0/kde-modules/KDECompilerSettings.cmake 2022-08-16 11:33:34.681624244 +0200
4 @@ -537,8 +537,8 @@ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU
5 (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT APPLE) OR
6 (CMAKE_CXX_COMPILER_ID STREQUAL "Intel" AND NOT WIN32))
7 # Linker warnings should be treated as errors
8 - set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings ${CMAKE_SHARED_LINKER_FLAGS}")
9 - set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings ${CMAKE_MODULE_LINKER_FLAGS}")
10 + ##set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings ${CMAKE_SHARED_LINKER_FLAGS}")
11 + ##set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings ${CMAKE_MODULE_LINKER_FLAGS}")
13 # Do not allow undefined symbols, even in non-symbolic shared libraries
14 # On OpenBSD we must disable this to allow the stuff to properly compile without explicit libc specification