bzip2: enable parallel building (#61379)

bzip2: enable parallel building
This commit is contained in:
Florian Klink 2019-05-13 00:00:12 +02:00 committed by GitHub
commit af5c3de5c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,17 +24,17 @@ stdenv.mkDerivation rec {
./CVE-2016-3189.patch
];
postPatch = ''
sed -i -e '/<sys\\stat\.h>/s|\\|/|' bzip2.c
'';
outputs = [ "bin" "dev" "out" "man" ];
configureFlags =
stdenv.lib.optionals linkStatic [ "--enable-static" "--disable-shared" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "High-quality data compression program";
license = licenses.bsdOriginal;