diff options
author | Jeffrey Walton <noloader@gmail.com> | 2022-02-10 23:08:58 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2022-02-10 23:08:58 -0500 |
commit | ce961bce0e43c9a0de9e4bbc648a61d26aee91fd (patch) | |
tree | cd4f50ce1bd0e2470907383eb11498a78df99362 /GNUmakefile | |
parent | a1d5313c7d15c889a9cb4f0cd2a0bbd9648a4735 (diff) | |
download | cryptopp-git-ce961bce0e43c9a0de9e4bbc648a61d26aee91fd.tar.gz |
Remove SSE and AVX source files from non-Intel platforms
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 0014d184..1d803f00 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -473,7 +473,7 @@ ifeq ($(findstring -DCRYPTOPP_DISABLE_ASM,$(CRYPTOPP_CPPFLAGS)$(CPPFLAGS)$(CXXFL endif endif -# IS_X86, IS_X32 and IS_X64 +# IS_X86 and IS_X64 endif ########################################################### @@ -1206,8 +1206,10 @@ ifeq ($(IS_ARM32)$(IS_ARMV8),00) SRCS := $(filter-out arm_%,$(SRCS)) SRCS := $(filter-out neon_%,$(SRCS)) endif -ifeq ($(IS_X86)$(IS_X32)$(IS_X64),000) +ifeq ($(IS_X86)$(IS_X64),00) SRCS := $(filter-out sse_%,$(SRCS)) + SRCS := $(filter-out %_sse.cpp,$(SRCS)) + SRCS := $(filter-out %_avx.cpp,$(SRCS)) endif # List cryptlib.cpp first, then cpu.cpp, then integer.cpp to tame C++ static initialization problems. |