Skip to content

Commit

Permalink
chore: Enable arm build
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjba committed Mar 10, 2023
1 parent 86335d3 commit bddb1a4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ else
detected_OS := $(strip $(shell uname))
endif

ifeq ($(detected_OS),Darwin)
ifeq ("$(shell sysctl -nq hw.optional.arm64)","1")
# Building on M1 is still not supported, so in the meantime we crosscompile to amd64
CFLAGS += -target x86_64-apple-macos10.12
endif
endif

# ---- Configuration options ----

# External/implicit variables:
Expand Down

0 comments on commit bddb1a4

Please sign in to comment.