From f25daaaf3d069bfce0716c599d6acf197eae2952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sat, 25 Feb 2012 18:29:30 +0000 Subject: [PATCH] Rigs of rods was built without optimisations. Setting the cmake build type to release. I think that should be done at the cmake setup hook, and win that for all possible cmake packages that are built by default without optimisation flags. Which is the cmake default behaviour if not overriden. svn path=/nixpkgs/trunk/; revision=32561 --- pkgs/games/rigsofrods/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/games/rigsofrods/default.nix b/pkgs/games/rigsofrods/default.nix index 480481afe9a..4fa89798306 100644 --- a/pkgs/games/rigsofrods/default.nix +++ b/pkgs/games/rigsofrods/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { "-DROR_USE_PAGED=TRUE" "-DROR_USE_ANGELSCRIPT=TRUE" "-DROR_USE_SOCKETW=TRUE" + "-DCMAKE_BUILD_TYPE=Release" ]; installPhase = ''