diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-07-04 13:22:51 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2021-07-04 13:22:51 -0400 |
commit | 0497eb46abdf47a3a21e6956ed23958cc5c07414 (patch) | |
tree | ec7453e2e9083bb9ab19b3c98bdd93ce13a0a16c /GNUmakefile | |
parent | 06a0ec218659714aebe52bd716d35f77306300df (diff) | |
download | cryptopp-git-0497eb46abdf47a3a21e6956ed23958cc5c07414.tar.gz |
Make SHA-NI independent of AVX and AVX2 (GH #1045)
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index 36b55dd4..6f630710 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -415,7 +415,9 @@ ifeq ($(DETECT_FEATURES),1) CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_AVX else ifeq ($(AVX2_FLAG),) CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_AVX2 - else ifeq ($(SHANI_FLAG),) + endif + # SHANI independent of AVX per GH #1045 + ifeq ($(SHANI_FLAG),) CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_SHANI endif endif |