diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2017-02-15 21:31:40 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-02-17 10:31:13 -0300 |
commit | 8bd8c6533369a013297e0eec7898b37290852a73 (patch) | |
tree | 3fae56cf0601f50126df3d8cb236c69b2b1aaa2b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0c8967c9df230d2c4dde6649f410b62e01806c22 (diff) |
tools perf scripting python: clang doesn't have -spec, remove it
Gcc has a -spec option to override what options to pass to cc, etc, and
in some distros this is used, like in fedora, where we end up getting
this passed to gcc that makes clang, that doesn't have this option to
stop the build:
CC /tmp/build/perf/util/scripting-engines/trace-event-python.o
clang-4.0: error: argument unused during compilation: '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' [-Werror,-Wunused-command-line-argument]
So filter this out when the compiler used is clang, this way we
can build the python scripting support in tools/perf/.
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/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions