From a610934c3bdf2c0aafc633d4245efe3df289d716 Mon Sep 17 00:00:00 2001 From: Meena Vyas Date: Fri, 25 Aug 2017 02:42:43 +1000 Subject: [PATCH] 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) --- Configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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|$)/) -- 2.34.1