aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2016-08-03 17:33:32 +0200
committerLinus Torvalds <[email protected]>2016-08-03 12:45:23 -0400
commit4b2e0162e4ab1a976eec0a36ca0bd920b02bfff3 (patch)
tree95481a0c2f12d173b19b320385534619701a6db9 /tools/perf/util/trace-event-scripting.c
parentf0936155f2204720655aefbc2f17c25a2c80a59e (diff)
fs/proc: Add compiler check for -Wno-override-init to support gcc < 4.2
With gcc < 4.2 (e.g. 4.1.2): CC fs/proc/task_mmu.o cc1: error: unrecognized command line option "-Wno-override-init" To fix this, only enable the compiler option when it is actually supported by the compiler. Fixes: ca52953f5f24 ("fs/proc/task_mmu.c: suppress compilation warnings with W=1") Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Valdis Kletnieks <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions