clinfo: make it build again

This commit is contained in:
Peter Hoeg 2021-01-06 11:02:40 +08:00
parent dfd0182493
commit 8436064b26

View File

@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
buildInputs = [ ocl-icd opencl-headers ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];
NIX_CFLAGS_COMPILE = [
"-Wno-error=stringop-overflow"
"-Wno-error=stringop-truncation"
];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
@ -21,7 +24,7 @@ stdenv.mkDerivation rec {
description = "Print all known information about all available OpenCL platforms and devices in the system";
homepage = "https://github.com/Oblomov/clinfo";
license = licenses.cc0;
platforms = platforms.linux;
maintainers = with maintainers; [ athas ];
platforms = platforms.linux;
};
}