Przemysław Pawełczyk commited on
Commit
54be145
·
unverified ·
1 Parent(s): 02b8e07

make : use cpuinfo in MSYS2 to enable x86 ISA extensions on the host (#1216)

Browse files
Files changed (1) hide show
  1. Makefile +2 -0
Makefile CHANGED
@@ -70,6 +70,8 @@ ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686))
70
  CPUINFO_CMD := sysctl machdep.cpu.features
71
  else ifeq ($(UNAME_S),Linux)
72
  CPUINFO_CMD := cat /proc/cpuinfo
 
 
73
  else ifeq ($(UNAME_S),Haiku)
74
  CPUINFO_CMD := sysinfo -cpu
75
  endif
 
70
  CPUINFO_CMD := sysctl machdep.cpu.features
71
  else ifeq ($(UNAME_S),Linux)
72
  CPUINFO_CMD := cat /proc/cpuinfo
73
+ else ifneq (,$(filter MINGW32_NT% MINGW64_NT%,$(UNAME_S)))
74
+ CPUINFO_CMD := cat /proc/cpuinfo
75
  else ifeq ($(UNAME_S),Haiku)
76
  CPUINFO_CMD := sysinfo -cpu
77
  endif