diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index cc301cdc5b..3f2687bbe4 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -48,6 +48,7 @@ endif ifneq ($(call cc-option,$(CC),-mindirect-branch-register,n),n) CFLAGS += -mindirect-branch=thunk-extern -mindirect-branch-register CFLAGS += -DCONFIG_INDIRECT_THUNK +CFLAGS += -fno-jump-tables export CONFIG_INDIRECT_THUNK=y endif