head 1.3; access; symbols pkgsrc-2021Q2:1.2.0.2 pkgsrc-2021Q2-base:1.2; locks; strict; comment @# @; 1.3 date 2021.07.14.17.56.52; author adam; state dead; branches; next 1.2; commitid sBFQtuVj7Ui4XY0D; 1.2 date 2021.04.25.07.51.26; author mrg; state Exp; branches; next 1.1; commitid 2be6PSHExaL5aEQC; 1.1 date 2021.04.02.07.59.35; author mrg; state Exp; branches; next ; commitid SCG1zOzALenlXGNC; desc @@ 1.3 log @threadingbuildingblocks: ... and patches @ text @$NetBSD: patch-build-BSD.inc,v 1.2 2021/04/25 07:51:26 mrg Exp $ Support arm64. --- build/BSD.inc.orig 2020-07-10 06:18:01.000000000 -0700 +++ build/BSD.inc 2021-04-02 00:55:40.143683568 -0700 @@@@ -22,6 +22,12 @@@@ ifeq ($(shell uname -m),amd64) export arch:=intel64 endif + ifeq ($(shell uname -p),aarch64) + export arch:=arm64 + endif + ifeq ($(shell uname -p),aarch64eb) + export arch:=arm64 + endif endif ifndef runtime @ 1.2 log @various fixes for arm64 big endian support. most of these simply extend matching from "aarch64" to "aarch64eb" in various forms of code. most remaining uses in pkgsrc of "MACHINE_ARCH == aarch64" are because of missing aarch64eb support, such as most of the binary-bootstrap requiring languages like rust, go, and java. no pkg-bump because this shouldn't change packages on systems that could already build all of these. @ text @d1 1 a1 1 $NetBSD: patch-build-BSD.inc,v 1.1 2021/04/02 07:59:35 mrg Exp $ @ 1.1 log @match arm64 systems. fixes build on netbsd/arm64. @ text @d1 1 a1 1 $NetBSD$ d7 1 a7 1 @@@@ -22,6 +22,9 @@@@ d14 3 @