diff --git a/tools/perf/util/setup.py b/tools/perf/util/setup.py index 5b5a167b43ce582683c566cd4cf35ef9b75bc042..a1a68a2fa9177d6198ba71eddd5656632a7aafd0 100644 --- a/tools/perf/util/setup.py +++ b/tools/perf/util/setup.py @@ -17,6 +17,8 @@ if cc == "clang": vars[var] = sub("-fcf-protection", "", vars[var]) if not clang_has_option("-fstack-clash-protection"): vars[var] = sub("-fstack-clash-protection", "", vars[var]) + if not clang_has_option("-fstack-protector-strong"): + vars[var] = sub("-fstack-protector-strong", "", vars[var]) from distutils.core import setup, Extension