diff options
author | Philippe Antoine <p.antoine@catenacyber.fr> | 2020-03-02 13:46:37 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-03-03 10:51:58 +0100 |
commit | a24e62f54b48d01832fd0b80f97115927a777a0f (patch) | |
tree | 11c26f69105805fbfc9c7508a1f30ca38c25efdc | |
parent | 47c239c6b8d6e5d66a6ceef3a2c543b6ea338759 (diff) |
Fix build with clang assembler
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11219)
-rwxr-xr-x | crypto/perlasm/x86_64-xlate.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index 197bc48873..ff2df7902b 100755 --- a/crypto/perlasm/x86_64-xlate.pl +++ b/crypto/perlasm/x86_64-xlate.pl @@ -110,6 +110,11 @@ 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 .*/) +{ + $gnuas=1; +} my $cet_property; if ($flavour =~ /elf/) { |