svn commit: r275778 - stable/10/share/mk

Andrew Turner andrew at FreeBSD.org
Sun Dec 14 18:51:14 UTC 2014


Author: andrew
Date: Sun Dec 14 18:51:13 2014
New Revision: 275778
URL: https://svnweb.freebsd.org/changeset/base/275778

Log:
  MFC 275379:
  Set the correct architecture when targeting ARMv7
  
  Sponsored by:	ABT Systems Ltd

Modified:
  stable/10/share/mk/bsd.cpu.mk
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/mk/bsd.cpu.mk
==============================================================================
--- stable/10/share/mk/bsd.cpu.mk	Sun Dec 14 18:30:30 2014	(r275777)
+++ stable/10/share/mk/bsd.cpu.mk	Sun Dec 14 18:51:13 2014	(r275778)
@@ -101,7 +101,7 @@ _CPUCFLAGS = -march=armv5te -D__XSCALE__
 . elif ${CPUTYPE} == "armv6"
 _CPUCFLAGS = -march=${CPUTYPE} -DARM_ARCH_6=1
 . elif ${CPUTYPE} == "cortexa"
-_CPUCFLAGS = -DARM_ARCH_6=1 -mfpu=vfp
+_CPUCFLAGS = -march=armv7 -DARM_ARCH_6=1 -mfpu=vfp
 .  else
 _CPUCFLAGS = -mcpu=${CPUTYPE}
 .  endif


More information about the svn-src-all mailing list