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:55 +0200 |
commit | 27a3be20a543fdd44517b898421f154e4619c78a (patch) | |
tree | 01386c170e10f81a26ec773426e409ff6673a561 /Configurations | |
parent | 5a070488d8c7b31da9080e6fcce6aefdc86af608 (diff) |
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)
(cherry picked from commit 3b437400d90fb89ce5e0d74fd79bda9028f185fb)
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 45f1811b5c..1d5d755a6f 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"), @@ -83,7 +83,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", @@ -98,7 +98,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", |