From 727aa10434a37eb85a08b28292dc61270c4e13eb Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Sun, 1 Sep 2024 19:14:56 +0200 Subject: [PATCH] 6.11: Use FineIBT when kcfi is selected Signed-off-by: Peter Jung --- linux-cachyos-rc/PKGBUILD | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD index d719180a..b58a3824 100644 --- a/linux-cachyos-rc/PKGBUILD +++ b/linux-cachyos-rc/PKGBUILD @@ -330,8 +330,7 @@ prepare() { ### Enable KCFI if [ -n "$_use_kcfi" ]; then echo "Enabling kCFI" - scripts/config -e ARCH_SUPPORTS_CFI_CLANG \ - -e CFI_CLANG + scripts/config -e ARCH_SUPPORTS_CFI_CLANG -e CFI_CLANG -e CFI_AUTO_DEFAULT fi ### Select LLVM level