3
0
Fork 0
forked from mirrors/nixpkgs

cargo: Build optimized binary

This commit is contained in:
Ricardo M. Correia 2015-04-21 20:17:05 +02:00
parent 7d67efa3f2
commit 5e8a447739

View file

@ -20,7 +20,7 @@ buildRustPackage rec {
buildInputs = [ file curl pkgconfig python openssl cmake zlib ];
configurePhase = ''
./configure --prefix=$out --local-cargo=${cargo}/bin/cargo
./configure --enable-optimize --prefix=$out --local-cargo=${cargo}/bin/cargo
'';
buildPhase = "make";