Skip to content

Commit

Permalink
make : use cpuinfo in MSYS2 to enable x86 ISA extensions on the host (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
przemoc committed Aug 28, 2023
1 parent b0d3599 commit 8e46ba8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e46ba8

Please sign in to comment.