mirror of
https://github.com/sockspls/badfish
synced 2025-07-13 20:49:15 +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
|
### 3.6 popcnt
|
||||||
ifeq ($(popcnt),yes)
|
ifeq ($(popcnt),yes)
|
||||||
CXXFLAGS += -DUSE_POPCNT
|
CXXFLAGS += -DUSE_POPCNT
|
||||||
ifeq ($(comp),$(filter $(comp),gcc clang mingw msys2))
|
ifneq ($(arch),$(filter $(arch),ppc64 armv8-a))
|
||||||
CXXFLAGS += -mpopcnt
|
ifeq ($(comp),$(filter $(comp),gcc clang mingw msys2))
|
||||||
|
CXXFLAGS += -mpopcnt
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue