1 --- a/src/nvidia-modeset/Makefile
2 +++ b/src/nvidia-modeset/Makefile
3 @@ -142,6 +142,7 @@ ifeq ($(TARGET_ARCH),x86_64)
4 CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -fno-jump-tables)
5 CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch=thunk-extern)
6 CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mindirect-branch-register)
7 + CONDITIONAL_CFLAGS += $(call TEST_CC_ARG, -mharden-sls=all)
10 CFLAGS += $(CONDITIONAL_CFLAGS)