Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/extra-cmake-modules/extra-cmake-modules-5.59.0-ld-no-fatal-warning.patch
blob: b4aa49f5bb664474916dbfc507d6f40d5656413e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -rauN extra-cmake-modules-5.59.0/kde-modules/KDECompilerSettings.cmake extra-cmake-modules-5.59.0-ld-no-fatal-warning-patch/kde-modules/KDECompilerSettings.cmake
--- extra-cmake-modules-5.59.0/kde-modules/KDECompilerSettings.cmake	2019-05-31 16:55:38.000000000 +0200
+++ extra-cmake-modules-5.59.0-ld-no-fatal-warning-patch/kde-modules/KDECompilerSettings.cmake	2019-07-05 12:29:52.239420845 +0200
@@ -344,8 +344,8 @@
         (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT APPLE) OR
         (CMAKE_CXX_COMPILER_ID STREQUAL "Intel" AND NOT WIN32))
     # Linker warnings should be treated as errors
-    set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings ${CMAKE_SHARED_LINKER_FLAGS}")
-    set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings ${CMAKE_MODULE_LINKER_FLAGS}")
+    #set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings ${CMAKE_SHARED_LINKER_FLAGS}")
+    #set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings ${CMAKE_MODULE_LINKER_FLAGS}")
 
     # Do not allow undefined symbols, even in non-symbolic shared libraries
     set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")