perf tools: Improve setting of gcc debug option
authorMartin Liska <mliska@suse.cz>
Tue, 26 May 2015 15:23:24 +0000 (12:23 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 27 May 2015 15:21:45 +0000 (12:21 -0300)
commite8b7ea4356fdd3c4de5478f3418eb84f8dce2b61
treed2bf5a7559f566ed71f93ae81671360eac42cd3d
parent5bcaaca3e4d15ce39008a0b9c431c0ac4be784bd
perf tools: Improve setting of gcc debug option

Correct debugging experience is given by passing -Og to compiler.

Do it in a way that supports older compilers

Signed-off-by: Martin Liska <mliska@suse.cz>
Acked-by: Ingo Molnar <mingo@kernel.org>
Link: http://lkml.kernel.org/r/5564393C.1090104@suse.cz
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/config/Makefile
tools/perf/config/utilities.mak