projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa27b6
)
powerpc: Add -mno-altivec for ARCH=powerpc builds
author
Paul Mackerras
<paulus@samba.org>
Sat, 29 Oct 2005 05:31:17 +0000
(15:31 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Sat, 29 Oct 2005 05:31:17 +0000
(15:31 +1000)
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/Makefile
b/arch/powerpc/Makefile
index 29cda0732703ccf3327dc793570aeb39303f36ee..2f4cce06a7e55cd2888c983b01352ce650aa52ec 100644
(file)
--- a/
arch/powerpc/Makefile
+++ b/
arch/powerpc/Makefile
@@
-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)