diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2009-02-22 18:45:30 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2009-02-22 18:45:30 +0000 |
commit | 8cc5991b4aaa44c076454048cfebbc09541dda7c (patch) | |
tree | 712718b6901afa06165496c957f29e512a78983c /share/mk | |
parent | 6a9085269a24320c84de5ae2d53cca3a30c4b8e2 (diff) | |
download | FreeBSD-src-8cc5991b4aaa44c076454048cfebbc09541dda7c.zip FreeBSD-src-8cc5991b4aaa44c076454048cfebbc09541dda7c.tar.gz |
Explicitly disable generation of Altivec instructions in the kernel on PowerPC,
and add support to allow users to set their CPUTYPE in make.conf.
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.cpu.mk | 2 |
1 files changed, 2 insertions, 0 deletions
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" |