Browse Source

[make] change AES support check

pull/1595/head
R4SAS 4 years ago committed by GitHub
parent
commit
ad84944d20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Makefile.linux

2
Makefile.linux

@ -58,7 +58,7 @@ ifeq ($(USE_UPNP),yes) @@ -58,7 +58,7 @@ ifeq ($(USE_UPNP),yes)
endif
ifeq ($(USE_AESNI),yes)
ifeq (, $(findstring arm, $(SYS))$(findstring aarch64, $(SYS))) # no arm and aarch64 in dumpmachine
ifneq (, $(findstring i386, $(SYS))$(findstring i686, $(SYS))$(findstring x86_64, $(SYS))) # only x86-based CPU supports that
NEEDED_CXXFLAGS += -D__AES__ -maes
endif
endif

Loading…
Cancel
Save