From: Tomas Mraz Date: Mon, 13 Nov 2023 11:17:43 +0000 (+0100) Subject: x86_64-xlate.pl: Fix build with icx and nvc compilers X-Git-Tag: openssl-3.3.0-alpha1~570 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1da7c09f7987a227701b6324e56003a89e9febf2;p=thirdparty%2Fopenssl.git x86_64-xlate.pl: Fix build with icx and nvc compilers Fixes #22594 Reviewed-by: Hugo Landau Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/22714) --- diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index 359670a2da8..6b93cfb84f8 100755 --- a/crypto/perlasm/x86_64-xlate.pl +++ b/crypto/perlasm/x86_64-xlate.pl @@ -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; }