leatherman: fix build with gcc9
This commit is contained in:
parent
4bf34b872e
commit
ee1cffd641
@ -11,7 +11,12 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "puppetlabs";
|
owner = "puppetlabs";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=ignored-qualifiers" "-Wno-error=class-memaccess" "-Wno-error=catch-value" ];
|
NIX_CFLAGS_COMPILE = [
|
||||||
|
"-Wno-error=ignored-qualifiers"
|
||||||
|
"-Wno-error=class-memaccess"
|
||||||
|
"-Wno-error=catch-value"
|
||||||
|
"-Wno-error=deprecated-copy"
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ boost curl ruby ];
|
buildInputs = [ boost curl ruby ];
|
||||||
@ -19,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/puppetlabs/leatherman/;
|
homepage = https://github.com/puppetlabs/leatherman/;
|
||||||
description = "A collection of C++ and CMake utility libraries";
|
description = "A collection of C++ and CMake utility libraries";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ maintainers.womfoo ];
|
maintainers = [ maintainers.womfoo ];
|
||||||
|
Loading…
Reference in New Issue
Block a user