svn commit: r206973 - head/share/mk

Xin LI delphij at FreeBSD.org
Wed Apr 21 01:13:09 UTC 2010


Author: delphij
Date: Wed Apr 21 01:13:08 2010
New Revision: 206973
URL: http://svn.freebsd.org/changeset/base/206973

Log:
  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

Modified:
  head/share/mk/bsd.cpu.mk

Modified: head/share/mk/bsd.cpu.mk
==============================================================================
--- head/share/mk/bsd.cpu.mk	Wed Apr 21 00:52:55 2010	(r206972)
+++ head/share/mk/bsd.cpu.mk	Wed Apr 21 01:13:08 2010	(r206973)
@@ -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"


More information about the svn-src-all mailing list