From 107d4388cbec50ba70d891205b830868a7b3f2d5 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Thu, 30 Mar 2017 09:51:09 -0700 Subject: [PATCH] Gate assembly sources on !OPENSSL_NO_ASM. Change-Id: I32b37306265e89afca568f20bfba2e04559c4f0b Reviewed-on: https://boringssl-review.googlesource.com/14527 Commit-Queue: Adam Langley Commit-Queue: David Benjamin Reviewed-by: David Benjamin CQ-Verified: CQ bot account: commit-bot@chromium.org --- crypto/perlasm/x86_64-xlate.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index 6e487b8e..6043bc71 100755 --- a/crypto/perlasm/x86_64-xlate.pl +++ b/crypto/perlasm/x86_64-xlate.pl @@ -1134,7 +1134,7 @@ ___ OPTION DOTNAME ___ } -print STDOUT "#if defined(__x86_64__)\n" if ($gas); +print STDOUT "#if defined(__x86_64__) && !defined(OPENSSL_NO_ASM)\n" if ($gas); while(defined(my $line=<>)) {