aboutsummaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorMeena Vyas <meena.vyas@oracle.com>2017-08-25 02:42:43 +1000
committerRichard Levitte <levitte@openssl.org>2017-08-25 08:05:13 +0200
commita610934c3bdf2c0aafc633d4245efe3df289d716 (patch)
treeec85abe61d5fafa40308a8d6c107c75e2130cbe5 /Configure
parentbffa1ff8fbe20f2ca2264ac7cb3290dc07f234c2 (diff)
downloadopenssl-a610934c3bdf2c0aafc633d4245efe3df289d716.tar.gz
Allow --strict-warnings with the icc compiler as well
Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4250)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure4
1 files 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|$)/)