diff options
author | Jeffrey Walton <noloader@gmail.com> | 2022-02-07 20:40:32 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2022-02-07 20:40:32 -0500 |
commit | b695b509109f8c7d1636337d43b9029da56307c0 (patch) | |
tree | 7102d51e5cf0e2b59080fcc2d4d4273cbd2b3014 /GNUmakefile | |
parent | 66d73d6d8b95a60cef3b9ff9d5d7e64cb281b50a (diff) | |
download | cryptopp-git-b695b509109f8c7d1636337d43b9029da56307c0.tar.gz |
Whitespace check-in
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile index f8b320ad..a24e1309 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -141,14 +141,15 @@ endif ##### General Variables ##### ########################################################### -# Base CXXFLAGS used if the user did not specify them +# Base CPPFLAGS and CXXFLAGS used if the user did not specify them +ifeq ($(CPPFLAGS),) + CRYPTOPP_CPPFLAGS += -DNDEBUG +endif ifeq ($(CXXFLAGS),) ifeq ($(SUN_COMPILER),1) - CRYPTOPP_CPPFLAGS += -DNDEBUG CRYPTOPP_CXXFLAGS += -g -xO3 ZOPT = -xO0 else - CRYPTOPP_CPPFLAGS += -DNDEBUG CRYPTOPP_CXXFLAGS += -g2 -O3 ZOPT = -O0 endif @@ -156,7 +157,7 @@ endif # Fix CXX on Cygwin 1.1.4 ifeq ($(CXX),gcc) -CXX := g++ + CXX := g++ endif # On ARM we may compile aes_armv4.S though the CC compiler |