Commit d3f67fbb authored by Paul Mackerras's avatar Paul Mackerras

powerpc: Add -mno-altivec for ARCH=powerpc builds

Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent ffa27b6b
...@@ -93,6 +93,9 @@ else ...@@ -93,6 +93,9 @@ else
endif endif
endif endif
# No AltiVec instruction when building kernel
CFLAGS += $(call cc-option,-mno-altivec)
# Enable unit-at-a-time mode when possible. It shrinks the # Enable unit-at-a-time mode when possible. It shrinks the
# kernel considerably. # kernel considerably.
CFLAGS += $(call cc-option,-funit-at-a-time) CFLAGS += $(call cc-option,-funit-at-a-time)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment