2014-03-07 19:27:00 +08:00
|
|
|
--- a/arch/powerpc/Makefile
|
|
|
|
+++ b/arch/powerpc/Makefile
|
2014-06-12 07:39:54 +08:00
|
|
|
@@ -158,7 +158,6 @@ CPP = $(CC) -E $(KBUILD_CFLAGS)
|
2014-03-07 19:27:00 +08:00
|
|
|
|
|
|
|
CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__
|
|
|
|
|
|
|
|
-KBUILD_LDFLAGS_MODULE += arch/powerpc/lib/crtsavres.o
|
|
|
|
|
|
|
|
# No AltiVec or VSX instructions when building kernel
|
|
|
|
KBUILD_CFLAGS += $(call cc-option,-mno-altivec)
|