about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/window-managers/wmderland/0001-remove-flto.patch
blob: cae1eac0a2040ab151094a438f16ca324dd55d9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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)