提交 a610934c 编写于 作者: M Meena Vyas 提交者: Richard Levitte

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

Reviewed-by: NTim Hudson <tjh@openssl.org>
Reviewed-by: NRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4250)
上级 bffa1ff8
......@@ -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|$)/)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册