Commit e295d046 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

Revert "Allow --strict-warnings with the icc compiler as well"



This reverts commit a610934c.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
Reviewed-by: default avatarBen Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4281)
parent bc326738
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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|$)/)