From 8cc5991b4aaa44c076454048cfebbc09541dda7c Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Sun, 22 Feb 2009 18:45:30 +0000 Subject: Explicitly disable generation of Altivec instructions in the kernel on PowerPC, and add support to allow users to set their CPUTYPE in make.conf. --- share/mk/bsd.cpu.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'share/mk') diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index 631d054..b1b06cf 100644 --- a/share/mk/bsd.cpu.mk +++ b/share/mk/bsd.cpu.mk @@ -118,6 +118,8 @@ _CPUCFLAGS = -mcpu=${CPUTYPE} . if ${CPUTYPE} == "e500" MACHINE_CPU = booke _CPUCFLAGS = -Wa,-me500 -msoft-float +. else +_CPUCFLAGS = -mcpu=${CPUTYPE} . endif . elif ${MACHINE_ARCH} == "mips" . if ${CPUTYPE} == "mips32" -- cgit v1.1