diff options
author | Robert Richter <[email protected]> | 2011-03-29 20:02:57 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-03-29 16:46:57 -0300 |
commit | 1b7155f7de119870f0d3fad89f125de2ff6c16be (patch) | |
tree | 2bc6164a4a983823344cbc1705d65c77e5c263aa /tools/perf/util/trace-event-scripting.c | |
parent | 4d439517561d009e170e2fe20be1ba25e19abe75 (diff) |
perf tools: Fix NO_NEWT=1 python build error
Fix the following build error:
GEN python/perf.so
In file included from util/evsel.h:10,
from util/python.c:6:
util/hist.h:106:18: error: newt.h: No such file or directory
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
make: *** [python/perf.so] Error 1
by passing BASIC_CFLAGS to setup.py. BASIC_CFLAGS variable contains
the -DNO_NEWT_SUPPORT switch which prevents building python c
extension with newt.
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Robert Richter <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions