Skip to content

Commit

Permalink
Set DESTCPU correctly on Apple Silicon so 'make binary' builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cheister committed Sep 18, 2021
1 parent 3101c09 commit 8dd0e91
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Expand Up @@ -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
Expand All @@ -850,6 +853,7 @@ endif
endif
endif
endif
endif
ifeq ($(DESTCPU),x64)
ARCH=x64
else
Expand Down

0 comments on commit 8dd0e91

Please sign in to comment.