mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-25 19:46:55 +08:00
Fixed a bug that Makefile specifies -mpopcnt for armv8-a.
This commit is contained in:
@@ -442,8 +442,10 @@ endif
|
||||
### 3.6 popcnt
|
||||
ifeq ($(popcnt),yes)
|
||||
CXXFLAGS += -DUSE_POPCNT
|
||||
ifeq ($(comp),$(filter $(comp),gcc clang mingw msys2))
|
||||
CXXFLAGS += -mpopcnt
|
||||
ifneq ($(arch),$(filter $(arch),ppc64 armv8-a))
|
||||
ifeq ($(comp),$(filter $(comp),gcc clang mingw msys2))
|
||||
CXXFLAGS += -mpopcnt
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user