Author: viric
Date: Sat Feb 25 18:29:30 2012
New Revision: 32561
URL: https://nixos.org/websvn/nix/?rev=32561&sc=1

Log:
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.

Modified:
   nixpkgs/trunk/pkgs/games/rigsofrods/default.nix

Modified: nixpkgs/trunk/pkgs/games/rigsofrods/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/games/rigsofrods/default.nix     Sat Feb 25 17:34:21 
2012        (r32560)
+++ nixpkgs/trunk/pkgs/games/rigsofrods/default.nix     Sat Feb 25 18:29:30 
2012        (r32561)
@@ -27,6 +27,7 @@
     "-DROR_USE_PAGED=TRUE"
     "-DROR_USE_ANGELSCRIPT=TRUE"
     "-DROR_USE_SOCKETW=TRUE"
+    "-DCMAKE_BUILD_TYPE=Release"
   ];
 
   installPhase = ''
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to