diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-11-13 12:17:43 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-11-24 17:21:39 +0100 |
commit | 1da7c09f7987a227701b6324e56003a89e9febf2 (patch) | |
tree | 7de7265b18dae1a8d8b5ede8fd6ed33b79e71b3c /crypto/perlasm | |
parent | dfc836c346cc6001534eaf9ed3a151b7aa658335 (diff) |
x86_64-xlate.pl: Fix build with icx and nvc compilers
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)
Diffstat (limited to 'crypto/perlasm')
-rwxr-xr-x | crypto/perlasm/x86_64-xlate.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index 359670a2da..6b93cfb84f 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; } |