From ca238f1f305d5db05a3bde44ae275965765b2ab9 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Fri, 18 Oct 2024 22:40:58 +0200 Subject: [PATCH 2/8] Add IBT support Signed-off-by: Peter Jung --- src/nvidia-modeset/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nvidia-modeset/Makefile b/src/nvidia-modeset/Makefile index 8f24541d..195d0fcf 100644 --- a/src/nvidia-modeset/Makefile +++ b/src/nvidia-modeset/Makefile @@ -154,6 +154,7 @@ ifeq ($(TARGET_ARCH),x86_64) CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables) CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern) CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register) + CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all) endif CFLAGS += $(CONDITIONAL_CFLAGS) -- 2.49.0.391.g4bbb303af6