diff options
author | Eduardo Habkost <[email protected]> | 2018-10-05 17:40:58 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-10-08 14:30:45 -0300 |
commit | 8b2f245faa6238e28a1d801e8633515251d1acfc (patch) | |
tree | a10f1c137ce8d6ead5e4f24e6e5050f4c5d0b4a2 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | e13a5d69c31d35538e80176d54d95b6addf4dcbf (diff) |
perf python: More portable way to make CFLAGS work with clang
The existing code that tries to make CFLAGS compatible with clang
doesn't work with Python 3.
Instead of trying to touch _sysconfigdata.build_time_vars directly,
change the dictionary returned by disutils.sysconfig.get_config_vars().
This works on both Python 2 and Python 3.
Signed-off-by: Eduardo Habkost <[email protected]>
Reported-by: Arnaldo Carvalho de Melo <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions