Skip to content

Commit 8239e2c

Browse files
Update Makefile
Co-authored-by: Dietmar Kühl <dietmar.kuehl@me.com>
1 parent 877dbe9 commit 8239e2c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ PRESET = gcc-release
1717
UNAME = $(shell uname -s)
1818
ifeq ($(UNAME),Darwin)
1919
# PRESET = appleclang-release
20-
PRESET = gcc-release
20+
ifeq ($(shell uname -m),arm64)
21+
PRESET = appleclang-release
22+
else
23+
PRESET = gcc-release
24+
endif
2125
endif
2226
BUILD = $(BUILDDIR)/$(PRESET)
2327

0 commit comments

Comments
 (0)