Set the correct architecture when targeting ARMv7

MFC after:	1 Week
Sponsored by:	ABT Systems Ltd
This commit is contained in:
Andrew Turner 2014-12-01 21:07:36 +00:00
parent 7f9b314ff2
commit a103277891
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=275379

View File

@ -99,7 +99,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