diff options
author | Chris Heisterkamp <cheister@squareup.com> | 2021-09-19 02:49:22 +0300 |
---|---|---|
committer | Node.js GitHub Bot <github-bot@iojs.org> | 2021-09-29 13:11:54 +0300 |
commit | 5607de8c132a45555fe1013a6519918f83bb6718 (patch) | |
tree | c22e5ef460c117c08682f8c70018043934c5fce0 /Makefile | |
parent | 88b497a11bec6c85496e1273f5ff2acefa62df11 (diff) |
build: set DESTCPU correctly for 'make binary' on Apple Silicon
PR-URL: https://github.com/nodejs/node/pull/40147
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -827,6 +827,9 @@ else ifeq ($(findstring s390,$(UNAME_M)),s390) DESTCPU ?= s390 else +ifeq ($(findstring arm64,$(UNAME_M)),arm64) +DESTCPU ?= arm64 +else ifeq ($(findstring arm,$(UNAME_M)),arm) DESTCPU ?= arm else @@ -850,6 +853,7 @@ endif endif endif endif +endif ifeq ($(DESTCPU),x64) ARCH=x64 else |