--- zzzz-none-000/linux-5.4.213/arch/arm64/Makefile 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/arch/arm64/Makefile 2024-08-14 09:01:28.000000000 +0000 @@ -53,6 +53,8 @@ endif endif +KBUILD_CFLAGS += -Werror + KBUILD_CFLAGS += -mgeneral-regs-only $(lseinstr) $(brokengasinst) \ $(compat_vdso) $(cc_has_k_constraint) KBUILD_CFLAGS += -fno-asynchronous-unwind-tables