Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 2015 13:42:58 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285036 - head/share/mk
Message-ID:  <201507021342.t62DgwxX056921@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507021342.t62DgwxX056921>