321-powerpc_crtsavres_prereq.patch 356 B

12345678910
  1. --- a/arch/powerpc/Makefile
  2. +++ b/arch/powerpc/Makefile
  3. @@ -86,7 +86,6 @@ CPP = $(CC) -E $(KBUILD_CFLAGS)
  4. CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__
  5. -KBUILD_LDFLAGS_MODULE += arch/powerpc/lib/crtsavres.o
  6. # No AltiVec or VSX instructions when building kernel
  7. KBUILD_CFLAGS += $(call cc-option,-mno-altivec)