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:22:14 +0100 |
commit | 1f8c14641842d1e2fc070648b2578ef32b9d7e1d (patch) | |
tree | 9abf3035fc731811bfcd75eab84d789f95428f31 | |
parent | fb1877cb1db0f34d874ada66121f3845427ef02b (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)
(cherry picked from commit 1da7c09f7987a227701b6324e56003a89e9febf2)
-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; } |