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:25 +0100 |
commit | 612119b38839d8179f8d46bd061059ec594cb70e (patch) | |
tree | 2b01ca8b6f00791651aed3ec8eb4330e3eaac6bd /crypto | |
parent | 5e361b00c41a443c0c5954f7dd6f475d645b7f84 (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)
Diffstat (limited to 'crypto')
-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; } |