chore: Enable arm build
This commit is contained in:
parent
86335d3fa6
commit
bddb1a406f
|
@ -28,13 +28,6 @@ else
|
||||||
detected_OS := $(strip $(shell uname))
|
detected_OS := $(strip $(shell uname))
|
||||||
endif
|
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 ----
|
# ---- Configuration options ----
|
||||||
|
|
||||||
# External/implicit variables:
|
# External/implicit variables:
|
||||||
|
|
Loading…
Reference in New Issue