Remove '-Wextra' as default user flags for the Linux clang targets
authorRichard Levitte <levitte@openssl.org>
Wed, 14 Mar 2018 08:41:35 +0000 (09:41 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 14 Mar 2018 08:41:35 +0000 (09:41 +0100)
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 <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5612)

Configurations/10-main.conf

index 1ba7cb8..6c73d9f 100644 (file)
@@ -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") ],