2012-10-23 20:21:34 +08:00
|
|
|
--- a/arch/powerpc/Makefile
|
|
|
|
+++ b/arch/powerpc/Makefile
|
2012-10-24 21:05:22 +08:00
|
|
|
@@ -86,7 +86,6 @@ CPP = $(CC) -E $(KBUILD_CFLAGS)
|
|
|
|
|
|
|
|
CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__
|
2012-10-23 20:21:34 +08:00
|
|
|
|
|
|
|
-KBUILD_LDFLAGS_MODULE += arch/powerpc/lib/crtsavres.o
|
|
|
|
|
2012-10-24 21:05:22 +08:00
|
|
|
# No AltiVec or VSX instructions when building kernel
|
|
|
|
KBUILD_CFLAGS += $(call cc-option,-mno-altivec)
|