From: Meena Vyas Date: Thu, 24 Aug 2017 16:42:43 +0000 (+1000) Subject: Allow --strict-warnings with the icc compiler as well X-Git-Tag: OpenSSL_1_1_1-pre1~771 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a610934c3bdf2c0aafc633d4245efe3df289d716;p=oweals%2Fopenssl.git Allow --strict-warnings with the icc compiler as well Reviewed-by: Tim Hudson Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/4250) --- diff --git a/Configure b/Configure index 70893626e1..60dc1f4bf0 100755 --- a/Configure +++ b/Configure @@ -1323,8 +1323,8 @@ if (defined($config{api})) { if ($strict_warnings) { my $wopt; - die "ERROR --strict-warnings requires gcc or clang" - unless $ecc eq 'gcc' || $ecc eq 'clang'; + die "ERROR --strict-warnings requires gcc, clang or icc" + unless $ecc eq 'gcc' || $ecc eq 'clang' || $ecc eq 'icc'; foreach $wopt (split /\s+/, $gcc_devteam_warn) { $config{cflags} .= " $wopt" unless ($config{cflags} =~ /(?:^|\s)$wopt(?:\s|$)/)