summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcrypto/perlasm/x86_64-xlate.pl5
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/) {