Remove redundant -DCMAKE_BUILD_TYPE=Release flags

Since commit 183d05a0 in 2012, this is the default.

fixes #18000
This commit is contained in:
Aneesh Agrawal
2016-08-25 17:11:27 -04:00
committed by Jörg Thalheim
parent 0e3e7a6bcd
commit fcee1d0b28
39 changed files with 39 additions and 83 deletions

View File

@@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include
-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include
-DGTK2_INCLUDE_DIRS=${gtk2.dev}/include/gtk-2.0
-DCMAKE_BUILD_TYPE=Release
-DENABLE_LTO=True
'';

View File

@@ -16,7 +16,6 @@ stdenv.mkDerivation rec {
-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include
-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include
-DGTK2_INCLUDE_DIRS=${gtk2.dev}/include/gtk-2.0
-DCMAKE_BUILD_TYPE=Release
-DENABLE_LTO=True
'';

View File

@@ -13,10 +13,6 @@ stdenv.mkDerivation {
buildInputs = [ cmake pkgconfig docutils glib libpthreadstubs libXau
libXdmcp xcbutil ];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
];
meta = with stdenv.lib; {
description = "Use external locker (such as i3lock) as X screen saver";
license = licenses.mit;