From 3b437400d90fb89ce5e0d74fd79bda9028f185fb Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 27 May 2019 14:40:25 +0200 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/9013) --- Configurations/90-team.norelease.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Configurations') 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", -- cgit v1.2.3