Skip to content

Commit

Permalink
x86_64-xlate.pl: Fix build with icx and nvc compilers
Browse files Browse the repository at this point in the history
Fixes #22594

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #22714)
  • Loading branch information
t8m committed Nov 24, 2023
1 parent dfc836c commit 1da7c09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crypto/perlasm/x86_64-xlate.pl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,12 @@
$gnuas=1;
}
elsif (`$ENV{CC} --version 2>/dev/null`
=~ /clang .*/)
=~ /(clang .*|Intel.*oneAPI .*)/)
{
$gnuas=1;
}
elsif (`$ENV{CC} -V 2>/dev/null`
=~ /nvc .*/)
{
$gnuas=1;
}
Expand Down

0 comments on commit 1da7c09

Please sign in to comment.