kernel: add support for 3.9-rc2
[openwrt/openwrt.git] / target / linux / generic / patches-3.9 / 321-powerpc_crtsavres_prereq.patch
1 --- a/arch/powerpc/Makefile
2 +++ b/arch/powerpc/Makefile
3 @@ -104,7 +104,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 # No AltiVec or VSX instructions when building kernel
10 KBUILD_CFLAGS += $(call cc-option,-mno-altivec)