summaryrefslogtreecommitdiff
path: root/GNUmakefile-cross
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-cross
parent4a0857f4911a2a4ee774f5ff1e5dae2bf0c2a12f (diff)
downloadcryptopp-git-56e5d5921d870c7f23ed717385bce3127056836f.tar.gz
Use CRYPTOPP_CPPFLAGS for Cryptogams recipe
Diffstat (limited to 'GNUmakefile-cross')
-rw-r--r--GNUmakefile-cross2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile-cross b/GNUmakefile-cross
index f3664ced..e83c0baf 100644
--- a/GNUmakefile-cross
+++ b/GNUmakefile-cross
@@ -703,7 +703,7 @@ INCL := $(filter-out resource.h,$(sort $(wildcard *.h)))
# 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__',)