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 e98f8e2e3708..fad55160dcb9 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile | |||
| @@ -235,8 +235,6 @@ ifdef CONFIG_RETPOLINE | |||
| 235 | RETPOLINE_CFLAGS += $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register) | 235 | RETPOLINE_CFLAGS += $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register) |
| 236 | ifneq ($(RETPOLINE_CFLAGS),) | 236 | ifneq ($(RETPOLINE_CFLAGS),) |
| 237 | KBUILD_CFLAGS += $(RETPOLINE_CFLAGS) -DRETPOLINE | 237 | KBUILD_CFLAGS += $(RETPOLINE_CFLAGS) -DRETPOLINE |
| 238 | else | ||
| 239 | $(warning CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended.) | ||
| 240 | endif | 238 | endif |
| 241 | endif | 239 | endif |
| 242 | 240 | ||
