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-10-01 16:13:41 +02:00
committed by Jörg Thalheim
parent 0e3e7a6bcd
commit fcee1d0b28
39 changed files with 39 additions and 83 deletions
+5 -2
View File
@@ -23,11 +23,14 @@ stdenv.mkDerivation rec {
sed '1i#include <math.h>' -i Sources/Draw/SWFeatureLevel.h
'';
nativeBuildInputs =
nativeBuildInputs =
[ cmake curl glew makeWrapper mesa SDL2 SDL2_image unzip wget zlib ]
++ lib.optional withOpenal openal;
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DOPENSPADES_INSTALL_BINARY=bin" "-DOPENSPADES_RESOURCES=NO" ];
cmakeFlags = [
"-DOPENSPADES_INSTALL_BINARY=bin"
"-DOPENSPADES_RESOURCES=NO"
];
enableParallelBuilding = true;
+5 -2
View File
@@ -16,12 +16,15 @@ stdenv.mkDerivation rec {
postPatch = "sed '1i#include <cmath>' -i Sources/Client/{,Client}Player.cpp";
nativeBuildInputs =
nativeBuildInputs =
with stdenv.lib;
[ cmake curl glew makeWrapper mesa SDL2 SDL2_image unzip wget zlib ]
++ lib.optional withOpenal openal;
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" "-DOPENSPADES_INSTALL_BINARY=bin" "-DOPENSPADES_RESOURCES=NO" ];
cmakeFlags = [
"-DOPENSPADES_INSTALL_BINARY=bin"
"-DOPENSPADES_RESOURCES=NO"
];
#enableParallelBuilding = true;