]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
perf build: Do not use -Wshadow on gcc < 4.8
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 19 Jul 2019 18:34:30 +0000 (15:34 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Jul 2019 12:04:54 +0000 (09:04 -0300)
commit39e7317e37f7f0be366d1201c283f968c17268da
tree4e70178c670cd978ba970d620d6eaf64023fca70
parentd95daf5accf4a72005daa13fbb1d1bd8709f2861
perf build: Do not use -Wshadow on gcc < 4.8

As it is too strict, see https://lkml.org/lkml/2006/11/28/253 and
https://gcc.gnu.org/gcc-4.8/changes.html, that takes into account
Linus's comments (search for Wshadow) for the reasoning about -Wshadow
not being interesting before gcc 4.8.

Acked-by: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/r/20190719183417.GQ3624@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/scripts/Makefile.include