We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6041736 commit 5caab5cCopy full SHA for 5caab5c
Makefile
@@ -62,7 +62,10 @@ endif
62
# feel free to update the Makefile for your architecture and send a pull request or issue
63
ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
64
ifeq ($(UNAME_S),Darwin)
65
- CFLAGS += -mf16c
+ F16C_M := $(shell sysctl machdep.cpu.features)
66
+ ifneq (,$(findstring F16C,$(F16C_M)))
67
+ CFLAGS += -mf16c
68
+ endif
69
AVX1_M := $(shell sysctl machdep.cpu.features)
70
ifneq (,$(findstring FMA,$(AVX1_M)))
71
CFLAGS += -mfma
0 commit comments