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:
parent
36092b855a
commit
afd7d0ea4d
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue