Fix chacha-armv4.pl with clang -fno-integrated-as.
[oweals/openssl.git] / crypto / chacha / asm / chacha-armv4.pl
index c90306e45c93b19810ff822943dd89ba7127ebc4..d3fadcc63d3338e25f0eadb41d2c6ce435410413 100755 (executable)
@@ -172,8 +172,10 @@ $code.=<<___;
 #include "arm_arch.h"
 
 .text
-#if defined(__thumb2__)
+#if defined(__thumb2__) || defined(__clang__)
 .syntax        unified
+#endif
+#if defined(__thumb2__)
 .thumb
 #else
 .code  32