diff options
Diffstat (limited to 'arch/ppc/Makefile')
-rw-r--r-- | arch/ppc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile index 121d2347b89f..94d5716fa7c3 100644 --- a/arch/ppc/Makefile +++ b/arch/ppc/Makefile | |||
@@ -26,6 +26,10 @@ CPPFLAGS += -Iarch/$(ARCH) -Iarch/$(ARCH)/include | |||
26 | AFLAGS += -Iarch/$(ARCH) | 26 | AFLAGS += -Iarch/$(ARCH) |
27 | CFLAGS += -Iarch/$(ARCH) -msoft-float -pipe \ | 27 | CFLAGS += -Iarch/$(ARCH) -msoft-float -pipe \ |
28 | -ffixed-r2 -mmultiple | 28 | -ffixed-r2 -mmultiple |
29 | |||
30 | # No AltiVec instruction when building kernel | ||
31 | CFLAGS += $(call cc-option, -mno-altivec) | ||
32 | |||
29 | CPP = $(CC) -E $(CFLAGS) | 33 | CPP = $(CC) -E $(CFLAGS) |
30 | # Temporary hack until we have migrated to asm-powerpc | 34 | # Temporary hack until we have migrated to asm-powerpc |
31 | LINUXINCLUDE += -Iarch/$(ARCH)/include | 35 | LINUXINCLUDE += -Iarch/$(ARCH)/include |