Merge pull request #36935 from xeji/p/libdynd

libdynd: fix build w/gcc7
This commit is contained in:
Andreas Rammhold 2018-03-14 07:19:48 +01:00 committed by GitHub
commit 1406823446
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,12 @@ stdenv.mkDerivation {
"-DDYND_BUILD_BENCHMARKS=OFF"
];
# added to fix build with gcc7
NIX_CFLAGS_COMPILE = [
"-Wno-error=implicit-fallthrough"
"-Wno-error=nonnull"
];
buildInputs = [ cmake ];
outputs = [ "out" "dev" ];
@ -24,5 +30,6 @@ stdenv.mkDerivation {
description = "C++ dynamic ndarray library, with Python exposure.";
homepage = http://libdynd.org;
license = licenses.bsd2;
platforms = platforms.linux;
};
}