diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -659,6 +659,11 @@ KBUILD_CFLAGS += $(call cc-option,-fno-stack-check) # Platforms that have their setjmp appropriately implemented may override this KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none) +# We don't have the necessary infrastructure to benefit from ARMv8.3+ pointer +# authentication. On older CPUs, they are interpreted as NOPs and blot the +# code and break less portable code that expects a very specific code layout +KBUILD_CFLAGS += $(call cc-option,-mbranch-protection=none) + KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member) # Align the bit size of userspace programs with the kernel |