We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77efdf5 commit 1f0414fCopy full SHA for 1f0414f
Makefile
@@ -71,7 +71,10 @@ endif
71
# feel free to update the Makefile for your architecture and send a pull request or issue
72
ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
73
ifeq ($(UNAME_S),Darwin)
74
- CFLAGS += -mf16c
+ F16C_M := $(shell sysctl machdep.cpu.features)
75
+ ifneq (,$(findstring F16C,$(F16C_M)))
76
+ CFLAGS += -mf16c
77
+ endif
78
AVX1_M := $(shell sysctl machdep.cpu.features)
79
ifneq (,$(findstring FMA,$(AVX1_M)))
80
CFLAGS += -mfma
0 commit comments