diff options
| -rw-r--r-- | arch/x86/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 974c61864978..504b1a4535ac 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile | |||
| @@ -240,8 +240,6 @@ ifdef CONFIG_RETPOLINE | |||
| 240 | RETPOLINE_CFLAGS += $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register) | 240 | RETPOLINE_CFLAGS += $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register) |
| 241 | ifneq ($(RETPOLINE_CFLAGS),) | 241 | ifneq ($(RETPOLINE_CFLAGS),) |
| 242 | KBUILD_CFLAGS += $(RETPOLINE_CFLAGS) -DRETPOLINE | 242 | KBUILD_CFLAGS += $(RETPOLINE_CFLAGS) -DRETPOLINE |
| 243 | else | ||
| 244 | $(warning CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended.) | ||
| 245 | endif | 243 | endif |
| 246 | endif | 244 | endif |
| 247 | 245 | ||
