diff options
author | Benjamin Kaduk <bkaduk@akamai.com> | 2017-05-01 12:39:20 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-05-01 14:23:28 -0400 |
commit | 96db26919d5caff2db6340354a026f56dc6f09da (patch) | |
tree | 7344c864096b98d6e3c99b10ddbf440383ad105d /Configure | |
parent | f44903a428cc63ce88bfba26e8e4e2e9b21f058d (diff) |
Remove duplicates from clang_devteam_warnings
Since the clang_devteam_warnings are appended to the gcc_devteam_warnings
when strict-warnings are requested, any items present in both the gcc
and clang variables will be duplicated in the cflags used for clang builds.
Remove the extra copy from the clang-specific flags in favor of the
gcc_devteam_warnings that are used for all strict-warnings builds.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3239)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -141,17 +141,13 @@ my $gcc_devteam_warn = "-DDEBUG_UNUSED" # -Wextended-offsetof -- no, needed in CMS ASN1 code my $clang_devteam_warn = "" . " -Qunused-arguments" - . " -Wextra" - . " -Wswitch -Wswitch-default" - . " -Wno-unused-parameter" + . " -Wswitch-default" . " -Wno-parentheses-equality" - . " -Wno-missing-field-initializers" . " -Wno-language-extension-token" . " -Wno-extended-offsetof" . " -Wconditional-uninitialized" . " -Wincompatible-pointer-types-discards-qualifiers" . " -Wmissing-variable-declarations" - . " -Wundef" ; # This adds backtrace information to the memory leak info. Is only used |