diff options
author | delphij <delphij@FreeBSD.org> | 2010-04-21 01:13:08 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-04-21 01:13:08 +0000 |
commit | c8f6c95ad8ba7d860ac3b1f768e65dd781cd13b4 (patch) | |
tree | 7643a87fdaa06fb238086058488adb572be39dc0 /share/mk | |
parent | 78507bba4a2f91155bcc1f596a578bce11a9012e (diff) | |
download | FreeBSD-src-c8f6c95ad8ba7d860ac3b1f768e65dd781cd13b4.zip FreeBSD-src-c8f6c95ad8ba7d860ac3b1f768e65dd781cd13b4.tar.gz |
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
MFC after: 2 weeks
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.cpu.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index 35661b3..86f9aed 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" |