From: Andy Polyakov Date: Tue, 29 Aug 2017 12:29:07 +0000 (+0200) Subject: Revert "Allow --strict-warnings with the icc compiler as well" X-Git-Tag: OpenSSL_1_1_1-pre1~738 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e295d046dcdb83885d32eb08409e74849384ba60;p=oweals%2Fopenssl.git Revert "Allow --strict-warnings with the icc compiler as well" This reverts commit a610934c3bdf2c0aafc633d4245efe3df289d716. Reviewed-by: Richard Levitte Reviewed-by: Ben Kaduk (Merged from https://github.com/openssl/openssl/pull/4281) --- diff --git a/Configure b/Configure index 57cdeb3dc4..bdca5efb69 100755 --- a/Configure +++ b/Configure @@ -1324,8 +1324,8 @@ if (defined($config{api})) { if ($strict_warnings) { my $wopt; - die "ERROR --strict-warnings requires gcc, clang or icc" - unless $ecc eq 'gcc' || $ecc eq 'clang' || $ecc eq 'icc'; + die "ERROR --strict-warnings requires gcc or clang" + unless $ecc eq 'gcc' || $ecc eq 'clang'; foreach $wopt (split /\s+/, $gcc_devteam_warn) { $config{cflags} .= " $wopt" unless ($config{cflags} =~ /(?:^|\s)$wopt(?:\s|$)/)