X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=Makefile;h=0fc511aac61cc9d965c96e496505d1cbe909ed7f;hb=5e6ded2e7a5d9c71186acc8f51989ef6e6addda4;hp=45278d508d81b445a486789db53b84be2df61e7f;hpb=6dc69d3d0d18d587ab9d809fe060ba4417cf0279;p=uclinux-h8%2Flinux.git diff --git a/Makefile b/Makefile index 45278d508d81..0fc511aac61c 100644 --- a/Makefile +++ b/Makefile @@ -688,17 +688,6 @@ ifdef CONFIG_FUNCTION_TRACER CC_FLAGS_FTRACE := -pg endif -ifdef CONFIG_CC_IS_GCC -RETPOLINE_CFLAGS := $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register) -RETPOLINE_VDSO_CFLAGS := $(call cc-option,-mindirect-branch=thunk-inline -mindirect-branch-register) -endif -ifdef CONFIG_CC_IS_CLANG -RETPOLINE_CFLAGS := -mretpoline-external-thunk -RETPOLINE_VDSO_CFLAGS := -mretpoline -endif -export RETPOLINE_CFLAGS -export RETPOLINE_VDSO_CFLAGS - include $(srctree)/arch/$(SRCARCH)/Makefile ifdef need-config