Skip to content

Commit a80f421

Browse files
committed
properly detect apple silicon as aarch64
1 parent b461e2b commit a80f421

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,11 @@ ifneq ($(filter 386 486 586 686 i386 i486 i586 i686,$(TARGET_ARCH)),)
343343
TARGET_ARCH := x86
344344
endif
345345

346+
# Normalize TARGET_ARCH to aarch64
347+
ifeq ($(TARGET_ARCH),arm64)
348+
TARGET_ARCH := aarch64
349+
endif
350+
346351
# Normalize TARGET_ARCH to arm
347352
ifneq ($(filter arm%,$(TARGET_ARCH)),)
348353
TARGET_ARCH := arm

0 commit comments

Comments
 (0)