summaryrefslogtreecommitdiffstats
path: root/src/crypto/modes/asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/modes/asm')
-rw-r--r--src/crypto/modes/asm/ghashv8-armx.pl5
1 files changed, 1 insertions, 4 deletions
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
___