libdynd: fix build with gcc9
This commit is contained in:
parent
ee1cffd641
commit
2c3f93fe74
@ -16,13 +16,14 @@ stdenv.mkDerivation {
|
||||
"-DDYND_BUILD_BENCHMARKS=OFF"
|
||||
];
|
||||
|
||||
# added to fix build with gcc7
|
||||
# added to fix build with gcc7+
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-Wno-error=implicit-fallthrough"
|
||||
"-Wno-error=nonnull"
|
||||
"-Wno-error=tautological-compare"
|
||||
"-Wno-error=class-memaccess"
|
||||
"-Wno-error=parentheses"
|
||||
"-Wno-error=deprecated-copy"
|
||||
];
|
||||
|
||||
buildInputs = [ cmake ];
|
||||
|
Loading…
Reference in New Issue
Block a user