summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2010-05-05 00:38:20 +0000
committerdelphij <delphij@FreeBSD.org>2010-05-05 00:38:20 +0000
commit8ce1a10bf9ba76939897e203ce541ef1917968f9 (patch)
tree8a72be2926aa6f4ca2fb03956d5f3403b1911fa8 /share/mk
parent433c06146c84972faa221551ad22b58fd9498d62 (diff)
downloadFreeBSD-src-8ce1a10bf9ba76939897e203ce541ef1917968f9.zip
FreeBSD-src-8ce1a10bf9ba76939897e203ce541ef1917968f9.tar.gz
MFC r206973:
When CPUTYPE is defined to any value, on amd64 platform "mmx" is available through MACHINE_CPU, indicating the CPU supports that feature, as done by revision 138685. This changeset adds "mmx" into the default amd64 MACHINE_CPU list when no CPUTYPE is specified to provide consistent behavior. PR: amd64/145593 Submitted by: mm
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.cpu.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk
index 8278d47..c7f727f 100644
--- a/share/mk/bsd.cpu.mk
+++ b/share/mk/bsd.cpu.mk
@@ -9,7 +9,7 @@ _CPUCFLAGS =
. if ${MACHINE_ARCH} == "i386"
MACHINE_CPU = i486
. elif ${MACHINE_ARCH} == "amd64"
-MACHINE_CPU = amd64 sse2 sse
+MACHINE_CPU = amd64 sse2 sse mmx
. elif ${MACHINE_ARCH} == "ia64"
MACHINE_CPU = itanium
. elif ${MACHINE_ARCH} == "powerpc"
OpenPOWER on IntegriCloud