From 8e46ba80d3c1dcf532a0029f9bcdf99ce9ce7d40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Pawe=C5=82czyk?= Date: Mon, 28 Aug 2023 12:28:26 +0200 Subject: [PATCH] make : use cpuinfo in MSYS2 to enable x86 ISA extensions on the host (#1216) --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index b53a4320..a2631011 100644 --- a/Makefile +++ b/Makefile @@ -70,6 +70,8 @@ ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686)) CPUINFO_CMD := sysctl machdep.cpu.features else ifeq ($(UNAME_S),Linux) CPUINFO_CMD := cat /proc/cpuinfo + else ifneq (,$(filter MINGW32_NT% MINGW64_NT%,$(UNAME_S))) + CPUINFO_CMD := cat /proc/cpuinfo else ifeq ($(UNAME_S),Haiku) CPUINFO_CMD := sysinfo -cpu endif