Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3f67fbb authored by Paul Mackerras's avatar Paul Mackerras
Browse files

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



Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent ffa27b6b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -93,6 +93,9 @@ else
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
# kernel considerably.
CFLAGS += $(call cc-option,-funit-at-a-time)