diff options
-rw-r--r-- | arch/powerpc/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 29cda0732703..2f4cce06a7e5 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -93,6 +93,9 @@ else | |||
93 | endif | 93 | endif |
94 | endif | 94 | endif |
95 | 95 | ||
96 | # No AltiVec instruction when building kernel | ||
97 | CFLAGS += $(call cc-option,-mno-altivec) | ||
98 | |||
96 | # Enable unit-at-a-time mode when possible. It shrinks the | 99 | # Enable unit-at-a-time mode when possible. It shrinks the |
97 | # kernel considerably. | 100 | # kernel considerably. |
98 | CFLAGS += $(call cc-option,-funit-at-a-time) | 101 | CFLAGS += $(call cc-option,-funit-at-a-time) |