diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2019-11-03 12:58:14 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2019-11-03 14:26:33 +0100 |
commit | 6944524756617f8a4a4504f38034936790cacf35 (patch) | |
tree | a86397b3ee9cee147a0134fe388d2df2050871df /pkgs/tools/system | |
parent | f8d610c1d94f375e6c1bcd4974455d62f8285976 (diff) | |
download | nixpkgs-6944524756617f8a4a4504f38034936790cacf35.tar nixpkgs-6944524756617f8a4a4504f38034936790cacf35.tar.gz nixpkgs-6944524756617f8a4a4504f38034936790cacf35.tar.bz2 nixpkgs-6944524756617f8a4a4504f38034936790cacf35.tar.lz nixpkgs-6944524756617f8a4a4504f38034936790cacf35.tar.xz nixpkgs-6944524756617f8a4a4504f38034936790cacf35.tar.zst nixpkgs-6944524756617f8a4a4504f38034936790cacf35.zip |
clinfo: fix build with gcc9
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/clinfo/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/system/clinfo/default.nix b/pkgs/tools/system/clinfo/default.nix index 5653c70d431..dd6e3d4a84b 100644 --- a/pkgs/tools/system/clinfo/default.nix +++ b/pkgs/tools/system/clinfo/default.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation rec { buildInputs = [ ocl-icd opencl-headers ]; + NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; meta = with stdenv.lib; { |