diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2019-11-05 01:55:45 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2019-11-05 01:55:45 +0100 |
commit | d98aee819fd2a7593f26ec7a65deff379c0f4554 (patch) | |
tree | 375af59b47c9545433b6e2386267a05ff016a181 /pkgs/os-specific/linux/kernel | |
parent | a2ab758457c4433d91ef98177f1a5f2e9b3b1cd2 (diff) | |
download | nixpkgs-d98aee819fd2a7593f26ec7a65deff379c0f4554.tar nixpkgs-d98aee819fd2a7593f26ec7a65deff379c0f4554.tar.gz nixpkgs-d98aee819fd2a7593f26ec7a65deff379c0f4554.tar.bz2 nixpkgs-d98aee819fd2a7593f26ec7a65deff379c0f4554.tar.lz nixpkgs-d98aee819fd2a7593f26ec7a65deff379c0f4554.tar.xz nixpkgs-d98aee819fd2a7593f26ec7a65deff379c0f4554.tar.zst nixpkgs-d98aee819fd2a7593f26ec7a65deff379c0f4554.zip |
linuxPackages.perf: fix build with gcc9
Diffstat (limited to 'pkgs/os-specific/linux/kernel')
-rw-r--r-- | pkgs/os-specific/linux/kernel/perf.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/kernel/perf.nix b/pkgs/os-specific/linux/kernel/perf.nix index 1e5c987d508..21615f62a3d 100644 --- a/pkgs/os-specific/linux/kernel/perf.nix +++ b/pkgs/os-specific/linux/kernel/perf.nix @@ -50,10 +50,7 @@ stdenv.mkDerivation { "-Wno-error=bool-compare" "-Wno-error=deprecated-declarations" "-DOBJDUMP_PATH=\"${binutils}/bin/objdump\"" - ] - # gcc before 6 doesn't know these options - ++ stdenv.lib.optionals (hasPrefix "gcc-6" stdenv.cc.cc.name) [ - "-Wno-error=unused-const-variable" "-Wno-error=misleading-indentation" + "-Wno-error=stringop-truncation" ]; doCheck = false; # requires "sparse" |