diff options
author | Meena Vyas <meena.vyas@oracle.com> | 2017-08-24 18:42:43 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-08-25 08:05:13 +0200 |
commit | a610934c3bdf2c0aafc633d4245efe3df289d716 (patch) | |
tree | ec85abe61d5fafa40308a8d6c107c75e2130cbe5 /Configure | |
parent | passed TARFILE="$(TARFILE)" NAME="$(NAME)" to tar target (diff) | |
download | openssl-a610934c3bdf2c0aafc633d4245efe3df289d716.tar.xz openssl-a610934c3bdf2c0aafc633d4245efe3df289d716.zip |
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 '')
-rwxr-xr-x | Configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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|$)/) |