chore: Enable arm build

This commit is contained in:
Alex Jbanca 2023-03-10 08:53:09 +02:00
parent 86335d3fa6
commit bddb1a406f
No known key found for this signature in database
GPG Key ID: 6004079575C21C5D
1 changed files with 0 additions and 7 deletions

View File

@ -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: