1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-13 12:39:16 +00:00

Fixed a bug that Makefile specifies -mpopcnt for armv8-a.

This commit is contained in:
nodchip 2020-07-19 18:34:35 +09:00
parent 36092b855a
commit afd7d0ea4d

View file

@ -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