From 64cb45fd79b243654a2e15f139e05e52cc700d7c Mon Sep 17 00:00:00 2001 From: Didzis Gosko Date: Wed, 6 Sep 2023 18:22:21 +0300 Subject: [PATCH] make : fix detection of AVX2 on macOS (#1250) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d775b74..066ad59 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ endif # feel free to update the Makefile for your architecture and send a pull request or issue ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686 amd64)) ifeq ($(UNAME_S),Darwin) - CPUINFO_CMD := sysctl machdep.cpu.features + CPUINFO_CMD := sysctl machdep.cpu.features machdep.cpu.leaf7_features else ifeq ($(UNAME_S),Linux) CPUINFO_CMD := cat /proc/cpuinfo else ifneq (,$(filter MINGW32_NT% MINGW64_NT%,$(UNAME_S)))