From: Richard Levitte Date: Wed, 14 Mar 2018 08:41:35 +0000 (+0100) Subject: Remove '-Wextra' as default user flags for the Linux clang targets X-Git-Tag: OpenSSL_1_1_1-pre3~104 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=95ea8da1768bf457b021f07cde9a6330827dc8a1;hp=d3313a1f4cc6cb641c3bb68fd40625c118a4b7b7 Remove '-Wextra' as default user flags for the Linux clang targets We have '--strict-warnings' for this kind of stuff... also, user flags are added last, so this overrides any warning supression --strict-warnings may put in place (for good reasons). Fixes #5609 Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/5612) --- diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 1ba7cb829b..6c73d9f4ec 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -816,7 +816,6 @@ my %targets = ( inherit_from => [ "linux-x86" ], CC => "clang", CXX => "clang++", - CFLAGS => add("-Wextra"), }, "linux-x86_64" => { inherit_from => [ "linux-generic64", asm("x86_64_asm") ], @@ -831,7 +830,6 @@ my %targets = ( inherit_from => [ "linux-x86_64" ], CC => "clang", CXX => "clang++", - CFLAGS => add("-Wextra"), }, "linux-x32" => { inherit_from => [ "linux-generic32", asm("x86_64_asm") ],