diff options
| author | Ben Hutchings <[email protected]> | 2012-08-19 23:47:19 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-08-20 12:36:41 +0000 |
| commit | ed7e2c2ec59422b68b643c479a5816197620016e (patch) | |
| tree | ed7d72fa262e6d4234101e247f85544f838d52f3 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf symbols: Fix builds with NO_LIBELF set (diff) | |
| download | kernel-ed7e2c2ec59422b68b643c479a5816197620016e.tar.gz kernel-ed7e2c2ec59422b68b643c479a5816197620016e.zip | |
perf tools: Fix include order for bison/flex-generated C files
When we use a separate output directory, we add util/ to the include
path for the generated C files. However, this is currently added to the
end of the path, behind /usr/include/slang and /usr/include/gtk-2.0 if
use of the respective libraries is enabled. Thus the '#include
"../perf.h"' in util/parse-events.l can actually include
/usr/include/perf.h if it exists.
Move '-Iutil/' ahead of all the other preprocessor options.
Reported-by: Sedat Dilek <[email protected]>
Signed-off-by: Ben Hutchings <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sedat Dilek <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
