diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2018-08-14 18:00:40 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-08-14 18:50:20 -0300 |
commit | 5508672d7f4949f15c316ffd947228f130498534 (patch) | |
tree | b087e2cb8503499d890f6924ed45c45bdc3fecf4 /lib/string_helpers.c | |
parent | 344353366591acf659a0d0dea498611da78d67e2 (diff) |
perf python: Remove -mcet and -fcf-protection when building with clang
These options are not present in older 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 28 and rawhide, so check if clang has the
options and remove the missing ones from CFLAGS.
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: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions