ar71xx: fix legacy image build error
[openwrt/staging/yousong.git] / target / linux / generic / patches-4.1 / 321-powerpc_crtsavres_prereq.patch
1 --- a/arch/powerpc/Makefile
2 +++ b/arch/powerpc/Makefile
3 @@ -165,7 +165,6 @@ CPP = $(CC) -E $(KBUILD_CFLAGS)
4
5 CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__
6
7 -KBUILD_LDFLAGS_MODULE += arch/powerpc/lib/crtsavres.o
8
9 ifeq ($(CONFIG_476FPE_ERR46),y)
10 KBUILD_LDFLAGS_MODULE += --ppc476-workaround \