Set MACHINE_CPU to arm64 when building for arm64. This is needed by the

ports tree as they check this value in a number of ports.

PR:		201259
Sponsored by:	ABT Systems Ltd
This commit is contained in:
Andrew Turner 2015-07-02 13:42:57 +00:00
parent b9b4269c1d
commit 5607ec2379
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285036

View File

@ -6,7 +6,9 @@
.if !defined(CPUTYPE) || empty(CPUTYPE)
_CPUCFLAGS =
. if ${MACHINE_CPUARCH} == "amd64"
. if ${MACHINE_CPUARCH} == "aarch64"
MACHINE_CPU = arm64
. elif ${MACHINE_CPUARCH} == "amd64"
MACHINE_CPU = amd64 sse2 sse mmx
. elif ${MACHINE_CPUARCH} == "arm"
MACHINE_CPU = arm