diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2011-01-22 21:29:53 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-01-22 21:29:53 +0000 |
| commit | 065bef5af620dcedeb6dc26fdc0b1739a3c9adef (patch) | |
| tree | 8ee2e93b30bcec3b9aa5bfb1abeb43c17fc9e2f9 /tools/perf/builtin-script.c | |
| parent | perf tools: Fix build when using gcc 3.4.6 (diff) | |
| download | kernel-065bef5af620dcedeb6dc26fdc0b1739a3c9adef.tar.gz kernel-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 <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Tom Zanussi <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
