bzip2: enable parallel building (#61379)
bzip2: enable parallel building
This commit is contained in:
commit
af5c3de5c6
@ -24,17 +24,17 @@ stdenv.mkDerivation rec {
|
|||||||
./CVE-2016-3189.patch
|
./CVE-2016-3189.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i -e '/<sys\\stat\.h>/s|\\|/|' bzip2.c
|
sed -i -e '/<sys\\stat\.h>/s|\\|/|' bzip2.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
outputs = [ "bin" "dev" "out" "man" ];
|
outputs = [ "bin" "dev" "out" "man" ];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
stdenv.lib.optionals linkStatic [ "--enable-static" "--disable-shared" ];
|
stdenv.lib.optionals linkStatic [ "--enable-static" "--disable-shared" ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "High-quality data compression program";
|
description = "High-quality data compression program";
|
||||||
license = licenses.bsdOriginal;
|
license = licenses.bsdOriginal;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user