mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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> Backport-PR-URL: https://github.com/nodejs/node/pull/41855
This commit is contained in:
1 parent
a3ebdbfe8f
commit
c73ac527d6
1 file changed
+4
@@ -825,6 +825,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
|
||||
@@ -844,6 +847,7 @@ endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifeq ($(DESTCPU),x64)
|
||||
ARCH=x64
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user