diff options
Diffstat (limited to 'arch/ppc64')
-rw-r--r-- | arch/ppc64/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ppc64/Makefile b/arch/ppc64/Makefile index 743f0dbdebf3..db1b25cdb5be 100644 --- a/arch/ppc64/Makefile +++ b/arch/ppc64/Makefile | |||
@@ -75,6 +75,9 @@ else | |||
75 | CFLAGS += $(call cc-option,-mtune=power4) | 75 | CFLAGS += $(call cc-option,-mtune=power4) |
76 | endif | 76 | endif |
77 | 77 | ||
78 | # No AltiVec instruction when building kernel | ||
79 | CFLAGS += $(call cc-option, -mno-altivec) | ||
80 | |||
78 | # Enable unit-at-a-time mode when possible. It shrinks the | 81 | # Enable unit-at-a-time mode when possible. It shrinks the |
79 | # kernel considerably. | 82 | # kernel considerably. |
80 | CFLAGS += $(call cc-option,-funit-at-a-time) | 83 | CFLAGS += $(call cc-option,-funit-at-a-time) |