about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/window-managers/wmderland/0001-remove-flto.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/window-managers/wmderland/0001-remove-flto.patch')
-rw-r--r--nixpkgs/pkgs/applications/window-managers/wmderland/0001-remove-flto.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/window-managers/wmderland/0001-remove-flto.patch b/nixpkgs/pkgs/applications/window-managers/wmderland/0001-remove-flto.patch
new file mode 100644
index 000000000000..cae1eac0a204
--- /dev/null
+++ b/nixpkgs/pkgs/applications/window-managers/wmderland/0001-remove-flto.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 17a4944..33406f3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -10,7 +10,7 @@ include(BuildType)
+ # Request C++14 standard, using new CMake variables.
+ set(CMAKE_CXX_STANDARD 14)
+ set(CMAKE_CXX_STANDARD_REQUIRED True)
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -flto -Wall")
++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
+ 
+ # If the BuildType is Debug, then add -rdynamic.
+ # (used to print stacktrace with function names)