aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/header.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-01-22 19:29:53 -0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-01-22 19:29:53 -0200
commit065bef5af620dcedeb6dc26fdc0b1739a3c9adef (patch)
tree8ee2e93b30bcec3b9aa5bfb1abeb43c17fc9e2f9 /tools/perf/util/header.h
parentperf tools: Fix build when using gcc 3.4.6 (diff)
downloadlinux-dev-065bef5af620dcedeb6dc26fdc0b1739a3c9adef.tar.xz
linux-dev-065bef5af620dcedeb6dc26fdc0b1739a3c9adef.zip
perf tools: Fix build by checking if extra warnings are supported
The -Wstack-protector and -Wvolatile-register-var warnings, for instance, are not supported by gcc 3.4.6. So fix by doing the same check we already do for -fstack-protector-all. With this and the other patches in this series, perf builds unmodified on, for instance, RHEL4. Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/header.h')
0 files changed, 0 insertions, 0 deletions