We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe0ba8c commit 27b5de6Copy full SHA for 27b5de6
arch/x86/Makefile
@@ -14,13 +14,13 @@ endif
14
15
ifdef CONFIG_CC_IS_GCC
16
RETPOLINE_CFLAGS := $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register)
17
-RETPOLINE_CFLAGS += $(call cc-option,-mindirect-branch-cs-prefix)
18
RETPOLINE_VDSO_CFLAGS := $(call cc-option,-mindirect-branch=thunk-inline -mindirect-branch-register)
19
endif
20
ifdef CONFIG_CC_IS_CLANG
21
RETPOLINE_CFLAGS := -mretpoline-external-thunk
22
RETPOLINE_VDSO_CFLAGS := -mretpoline
23
+RETPOLINE_CFLAGS += $(call cc-option,-mindirect-branch-cs-prefix)
24
25
ifdef CONFIG_RETHUNK
26
RETHUNK_CFLAGS := -mfunction-return=thunk-extern
0 commit comments