powerpc: Add -mno-altivec for ARCH=powerpc builds
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
ffa27b6bc6
commit
d3f67fbb96
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user