OCaml 5.0.0 rebuild: Fix Pervasives deprecation
[arch-packages.git] / nvidia-open / trunk / nvidia-open-gcc-ibt-sls.patch
blob258026c64a7287b6f9bdc645d57e28cc37a3b535
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)
8 endif
10 CFLAGS += $(CONDITIONAL_CFLAGS)