summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2022-02-10 22:39:48 -0500
committerJeffrey Walton <noloader@gmail.com>2022-02-10 22:39:48 -0500
commit56e5d5921d870c7f23ed717385bce3127056836f (patch)
treedc9b12eb66c9f256f1d51f829f5611ff758be987 /GNUmakefile
parent4a0857f4911a2a4ee774f5ff1e5dae2bf0c2a12f (diff)
downloadcryptopp-git-56e5d5921d870c7f23ed717385bce3127056836f.tar.gz
Use CRYPTOPP_CPPFLAGS for Cryptogams recipe
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index e245d623..01c5679b 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1180,7 +1180,7 @@ endif
# Limit to Linux. The source files target the GNU assembler.
# Also see https://www.cryptopp.com/wiki/Cryptogams.
ifeq ($(IS_ARM32)$(IS_LINUX),11)
- ifeq ($(filter -DCRYPTOPP_DISABLE_ASM -DCRYPTOPP_DISABLE_ARM_NEON,$(CPPFLAGS)$(CXXFLAGS)),)
+ ifeq ($(filter -DCRYPTOPP_DISABLE_ASM -DCRYPTOPP_DISABLE_ARM_NEON,$(CRYPTOPP_CPPFLAGS)$(CPPFLAGS)$(CXXFLAGS)),)
# Do not use -march=armv7 if the compiler is already targeting the ISA.
# Also see https://github.com/weidai11/cryptopp/issues/1094
ifeq ($(CXX) -dM -E TestPrograms/test_cxx.cpp 2>/dev/null | grep -E '__ARM_ARCH 7|__ARM_ARCH_7A__',)