diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-07-19 00:14:25 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-07-19 00:14:25 -0400 |
commit | 058a59814f0be1d89e2a0fa11438c2037112cd7a (patch) | |
tree | da7c5b8c3c50009119b515cfd3045d7c561e44d6 /GNUmakefile-cross | |
parent | 07c208dbc6d625487670f662f70dcfa6d84b0dd2 (diff) | |
download | cryptopp-git-058a59814f0be1d89e2a0fa11438c2037112cd7a.tar.gz |
Fix TCXXFLAGS using openSUSE standard flags (GH #865)
Diffstat (limited to 'GNUmakefile-cross')
-rwxr-xr-x | GNUmakefile-cross | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/GNUmakefile-cross b/GNUmakefile-cross index c84b399a..7c151c59 100755 --- a/GNUmakefile-cross +++ b/GNUmakefile-cross @@ -194,8 +194,7 @@ endif # Strip out -Wall, -Wextra and friends for feature testing ifeq ($(DETECT_FEATURES),1) - TCXXFLAGS := $(filter-out -Wall -Wextra -Werror% -Wunused -Wconversion -Wp%, $(CXXFLAGS)) - ifneq ($(strip $(TCXXFLAGS)),) + TCXXFLAGS := $(filter-out -D_FORTIFY_SOURCE=1 -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror% -Wunused -Wconversion -Wp%, $(CXXFLAGS)) $(info Using testing flags: $(TCXXFLAGS)) endif #TPROG = TestPrograms/test_cxx.cxx |