summary refs log tree commit diff
path: root/pkgs/games/rigsofrods
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/rigsofrods
parentf0197c653e4601776128061d7624ded313c059fd (diff)
downloadnixpkgs-f25daaaf3d069bfce0716c599d6acf197eae2952.tar
nixpkgs-f25daaaf3d069bfce0716c599d6acf197eae2952.tar.gz
nixpkgs-f25daaaf3d069bfce0716c599d6acf197eae2952.tar.bz2
nixpkgs-f25daaaf3d069bfce0716c599d6acf197eae2952.tar.lz
nixpkgs-f25daaaf3d069bfce0716c599d6acf197eae2952.tar.xz
nixpkgs-f25daaaf3d069bfce0716c599d6acf197eae2952.tar.zst
nixpkgs-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/rigsofrods')
-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 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 = ''