Set the correct architecture when targeting ARMv7

MFC after:	1 Week
Sponsored by:	ABT Systems Ltd
This commit is contained in:
andrew 2014-12-01 21:07:36 +00:00
parent a51bf776e5
commit fb471684a4

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