summaryrefslogtreecommitdiffstats
path: root/sys/conf/kern.mk
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-07-13 13:11:18 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-07-13 13:11:18 +0000
commit2c328ad6aeddcb2f5f89d61a55ea49d61b582b4d (patch)
tree64d5b3b373b0d76fe4fddb9b562632f744c36838 /sys/conf/kern.mk
parent71f078a5eaab19f9a4d5cf7f59a89268f97c7938 (diff)
downloadFreeBSD-src-2c328ad6aeddcb2f5f89d61a55ea49d61b582b4d.zip
FreeBSD-src-2c328ad6aeddcb2f5f89d61a55ea49d61b582b4d.tar.gz
Convert several instances of MACHINE_ARCH to MACHINE_CPUARCH and use the
correct compiler flags on 64-bit PowerPC.
Diffstat (limited to 'sys/conf/kern.mk')
-rw-r--r--sys/conf/kern.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 7e23a80..55f7d99 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -74,7 +74,7 @@ INLINE_LIMIT?= 8000
# floating point registers for integer operations which it has a tendency to do.
# Also explicitly disable Altivec instructions inside the kernel.
#
-.if ${MACHINE_ARCH} == "powerpc"
+.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"
CFLAGS+= -msoft-float -mno-altivec
INLINE_LIMIT?= 15000
.endif
OpenPOWER on IntegriCloud