diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-18 15:34:15 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-18 15:38:09 +0100 |
commit | 94ec1eb711db69be1414b56b3160b816e86a5c5b (patch) | |
tree | 3dcba56cc708bf895bcbaf432879e2b20e61a831 /tools/perf/util/cpumap.c | |
parent | perf core: Fix perf_proc_update_handler() bug (diff) | |
download | linux-94ec1eb711db69be1414b56b3160b816e86a5c5b.tar.xz linux-94ec1eb711db69be1414b56b3160b816e86a5c5b.zip |
perf python: Remove -fstack-clash-protection when building with some clang versions
These options are not present in some (all?) clang versions, so when we
build for a distro that has a gcc new enough to have these options and
that the distro python build config settings use them but clang doesn't
support, b00m.
This is the case with fedora rawhide (now gearing towards f30), so check
if clang has the and remove the missing ones from CFLAGS.
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Thiago Macieira <thiago.macieira@intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-5q50q9w458yawgxf9ez54jbp@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/cpumap.c')
0 files changed, 0 insertions, 0 deletions