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
This commit is contained in:
Lluís Batlle i Rossell 2012-02-25 18:29:30 +00:00
parent f0197c653e
commit f25daaaf3d

View File

@ -27,6 +27,7 @@ stdenv.mkDerivation rec {
"-DROR_USE_PAGED=TRUE"
"-DROR_USE_ANGELSCRIPT=TRUE"
"-DROR_USE_SOCKETW=TRUE"
"-DCMAKE_BUILD_TYPE=Release"
];
installPhase = ''