diff options
author | Jeffrey Walton <noloader@gmail.com> | 2022-02-08 11:49:25 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2022-02-08 11:49:25 -0500 |
commit | 60c5cfeb5bbdad2fdb8f04336db3f54b54efe05c (patch) | |
tree | b3c3ee1b0a7c5a8667eca45de3f9a4aeab7410ea /GNUmakefile | |
parent | b695b509109f8c7d1636337d43b9029da56307c0 (diff) | |
download | cryptopp-git-60c5cfeb5bbdad2fdb8f04336db3f54b54efe05c.tar.gz |
Use CPPFLAGS more consistently in Makefiles
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile index a24e1309..a0f9302b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -285,7 +285,7 @@ ifeq ($(DETECT_FEATURES),1) endif ifeq ($(SSE2_FLAG),) - CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_ASM + CRYPTOPP_CPPFLAGS += -DCRYPTOPP_DISABLE_ASM endif # Need SSE2 or higher for these tests @@ -959,8 +959,8 @@ endif # No ASM for Travis testing ifeq ($(findstring no-asm,$(MAKECMDGOALS)),no-asm) ifeq ($(findstring -DCRYPTOPP_DISABLE_ASM,$(CPPFLAGS)$(CXXFLAGS)),) - CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_ASM - endif # CRYPTOPP_CXXFLAGS + CRYPTOPP_CPPFLAGS += -DCRYPTOPP_DISABLE_ASM + endif # CRYPTOPP_CPPFLAGS endif # No ASM # Native build testing. Issue 'make native'. @@ -1085,7 +1085,7 @@ ifneq ($(filter -DDEBUG -DDEBUG=1,$(CXXFLAGS)),) ifneq ($(USING_GLIBCXX),0) ifeq ($(HAS_NEWLIB),0) ifeq ($(findstring -D_GLIBCXX_DEBUG,$(CPPFLAGS)$(CXXFLAGS)),) - CRYPTOPP_CXXFLAGS += -D_GLIBCXX_DEBUG + CRYPTOPP_CPPFLAGS += -D_GLIBCXX_DEBUG endif # CRYPTOPP_CPPFLAGS endif # HAS_NEWLIB endif # USING_GLIBCXX |