]> git.pld-linux.org Git - packages/kf5-extra-cmake-modules.git/blob - no-fatal-warnings.patch
- updated to 5.102.0
[packages/kf5-extra-cmake-modules.git] / no-fatal-warnings.patch
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}")
12  
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.058952 seconds and 3 git commands to generate.