--- zzzz-none-000/linux-5.4.213/security/Makefile 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/security/Makefile 2024-08-14 09:02:15.000000000 +0000 @@ -3,6 +3,7 @@ # Makefile for the kernel security code # +KBUILD_CFLAGS += -Werror obj-$(CONFIG_KEYS) += keys/ subdir-$(CONFIG_SECURITY_SELINUX) += selinux subdir-$(CONFIG_SECURITY_SMACK) += smack