mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
protobuf: build static libraries
mesos needs them
This commit is contained in:
parent
dabb296c76
commit
49e9a26e77
@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
dontDisableStatic = true;
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = with stdenv.lib;
|
NIX_CFLAGS_COMPILE = with stdenv.lib;
|
||||||
# gcc before 6 doesn't know this option
|
# gcc before 6 doesn't know this option
|
||||||
optionalString (hasPrefix "gcc-6" stdenv.cc.cc.name) "-Wno-error=misleading-indentation";
|
optionalString (hasPrefix "gcc-6" stdenv.cc.cc.name) "-Wno-error=misleading-indentation";
|
||||||
|
Loading…
Reference in New Issue
Block a user