]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
x86_64-xlate.pl: Fix build with icx and nvc compilers
authorTomas Mraz <tomas@openssl.org>
Mon, 13 Nov 2023 11:17:43 +0000 (12:17 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 24 Nov 2023 16:21:39 +0000 (17:21 +0100)
Fixes #22594

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22714)

crypto/perlasm/x86_64-xlate.pl

index 359670a2da89e62b6975ccea3f398edb6359bf6b..6b93cfb84f8186cb3f873dcb8766acce54fef14f 100755 (executable)
@@ -111,7 +111,12 @@ elsif (`$ENV{CC} -Wa,-v -c -o /dev/null -x assembler /dev/null 2>&1`
     $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;
 }