diff options
author | Richard Levitte <levitte@openssl.org> | 2019-05-27 14:40:25 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-05-27 15:20:10 +0200 |
commit | 3b437400d90fb89ce5e0d74fd79bda9028f185fb (patch) | |
tree | 3c5fd2dee2226a5ab20bba5bc10175bfe3b8e923 /Configurations | |
parent | Add d2i_KeyParams/i2d_KeyParams API's. (diff) | |
download | openssl-3b437400d90fb89ce5e0d74fd79bda9028f185fb.tar.xz openssl-3b437400d90fb89ce5e0d74fd79bda9028f185fb.zip |
Configure: Remove extra warning and sanitizer options from CXXFLAGS
We add the extra warning and sanitizer options to check our code,
which is entirely in C. We support C++ compilers uniquely for the
sake of certain external test suites, and those projects can probably
sanitize their own code themselves.
[extended tests]
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9013)
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/90-team.norelease.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Configurations/90-team.norelease.conf b/Configurations/90-team.norelease.conf index 77dad97753..6ead610428 100644 --- a/Configurations/90-team.norelease.conf +++ b/Configurations/90-team.norelease.conf @@ -18,7 +18,7 @@ my %targets = ( "debug-erbridge" => { inherit_from => [ 'BASE_unix', "x86_64_asm" ], cc => "gcc", - cflags => combine(join(' ', @{$gcc_devteam_warn{CFLAGS}}), + cflags => combine(join(' ', @gcc_devteam_warn), "-DBN_DEBUG -DCONF_DEBUG -m64 -DL_ENDIAN -DTERMIO -g", threads("-D_REENTRANT")), ex_libs => add(" ","-ldl"), @@ -81,7 +81,7 @@ my %targets = ( "debug-test-64-clang" => { inherit_from => [ 'BASE_unix', "x86_64_asm" ], cc => "clang", - cflags => combine(join(' ', @{$gcc_devteam_warn{CFLAGS}}), + cflags => combine(join(' ', @gcc_devteam_warn), "-Wno-error=overlength-strings -Wno-error=extended-offsetof -Wno-error=language-extension-token -Wno-error=unused-const-variable -Wstrict-overflow -Qunused-arguments -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -O3 -pipe", threads("${BSDthreads}")), bn_ops => "SIXTY_FOUR_BIT_LONG", @@ -95,7 +95,7 @@ my %targets = ( inherit_from => [ 'BASE_unix', "x86_64_asm" ], cc => "clang", cflags => combine("-arch x86_64 -DL_ENDIAN", - join(' ', @{$gcc_devteam_warn{CFLAGS}}), + join(' ', @gcc_devteam_warn), "-Wno-error=overlength-strings -Wno-error=extended-offsetof -Wno-error=language-extension-token -Wno-error=unused-const-variable -Wstrict-overflow -Qunused-arguments -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -O3 -pipe", threads("${BSDthreads}")), sys_id => "MACOSX", |