svn commit: r285036 - head/share/mk
Andrew Turner
andrew at FreeBSD.org
Thu Jul 2 13:42:58 UTC 2015
Author: andrew
Date: Thu Jul 2 13:42:57 2015
New Revision: 285036
URL: https://svnweb.freebsd.org/changeset/base/285036
Log:
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
Modified:
head/share/mk/bsd.cpu.mk
Modified: head/share/mk/bsd.cpu.mk
==============================================================================
--- head/share/mk/bsd.cpu.mk Thu Jul 2 13:22:41 2015 (r285035)
+++ head/share/mk/bsd.cpu.mk Thu Jul 2 13:42:57 2015 (r285036)
@@ -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
More information about the svn-src-all
mailing list