]> git.pld-linux.org Git - packages/kf5-extra-cmake-modules.git/blame - no-fatal-warnings.patch
- updated to 5.116.0
[packages/kf5-extra-cmake-modules.git] / no-fatal-warnings.patch
CommitLineData
232f1766
WF
1diff -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
db15f84f
WF
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}")
12
232f1766
WF
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
This page took 0.142316 seconds and 5 git commands to generate.