+config CC_HAS_IBTIs -mindirect-branch-register breaks compiling with clang. Maybe we should we do instead?
+ # GCC >= 9 and binutils >= 2.29
+ # Retpoline check to work around
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93654
+ def_bool $(cc-option, -fcf-protection=branch
-mindirect-branch-register) && $(as-instr,endbr64)
+