aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2019-01-18 14:34:15 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-01-18 14:38:09 +0000
commit94ec1eb711db69be1414b56b3160b816e86a5c5b (patch)
tree3dcba56cc708bf895bcbaf432879e2b20e61a831 /tools/perf/util/c++/clang.cpp
parentperf core: Fix perf_proc_update_handler() bug (diff)
downloadkernel-94ec1eb711db69be1414b56b3160b816e86a5c5b.tar.gz
kernel-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 <[email protected]> Cc: Thiago Macieira <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions