clinfo: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-03 12:58:14 +01:00
parent f8d610c1d9
commit 6944524756
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
buildInputs = [ ocl-icd opencl-headers ]; buildInputs = [ ocl-icd opencl-headers ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];
makeFlags = [ "PREFIX=${placeholder "out"}" ]; makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {