From eef60be96fb91dc632a18173b4a4f21e9813aba7 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Sat, 18 Apr 2015 19:07:35 -0700 Subject: external/boringssl: try to fix aarch64+Clang. It appears that the version of Clang in Android doesn't support the .arch_extension directive. This change removes the .arch and .arch_extension lines (because they are triggering errors) and adds a -march option on the command line instead. The aarch64+Clang build is still broken with this change, but it's broken in binder rather than BoringSSL with it. Change-Id: I32c557bdfde4df66d26794ccdd650356f2bbaf8f --- src/crypto/modes/asm/ghashv8-armx.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/crypto/modes/asm') diff --git a/src/crypto/modes/asm/ghashv8-armx.pl b/src/crypto/modes/asm/ghashv8-armx.pl index 40dca96..08c8775 100644 --- a/src/crypto/modes/asm/ghashv8-armx.pl +++ b/src/crypto/modes/asm/ghashv8-armx.pl @@ -45,10 +45,7 @@ $code=<<___; .text ___ $code.=<<___ if ($flavour =~ /64/); -#ifdef __clang__ -.arch armv8-a -.arch_extension crypto -#else +#if !defined(__clang__) .arch armv8-a+crypto #endif ___ -- cgit v1.1