about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-02-25 18:29:30 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-02-25 18:29:30 +0000
commitf25daaaf3d069bfce0716c599d6acf197eae2952 (patch)
treec16a4c923c9993f593c4097fa2fbae1e961e6c4f /pkgs/games
parentf0197c653e4601776128061d7624ded313c059fd (diff)
downloadnixlib-f25daaaf3d069bfce0716c599d6acf197eae2952.tar
nixlib-f25daaaf3d069bfce0716c599d6acf197eae2952.tar.gz
nixlib-f25daaaf3d069bfce0716c599d6acf197eae2952.tar.bz2
nixlib-f25daaaf3d069bfce0716c599d6acf197eae2952.tar.lz
nixlib-f25daaaf3d069bfce0716c599d6acf197eae2952.tar.xz
nixlib-f25daaaf3d069bfce0716c599d6acf197eae2952.tar.zst
nixlib-f25daaaf3d069bfce0716c599d6acf197eae2952.zip
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
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/rigsofrods/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/games/rigsofrods/default.nix b/pkgs/games/rigsofrods/default.nix
index 480481afe9ab..4fa897983065 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 = ''