leatherman: fix build with gcc9
This commit is contained in:
parent
4bf34b872e
commit
ee1cffd641
1 changed files with 7 additions and 2 deletions
|
@ -11,7 +11,12 @@ stdenv.mkDerivation rec {
|
|||
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 ];
|
||||
buildInputs = [ boost curl ruby ];
|
||||
|
|
Loading…
Reference in a new issue