forked from mirrors/nixpkgs
cargo: Build optimized binary
This commit is contained in:
parent
7d67efa3f2
commit
5e8a447739
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue