diff --git a/lib/arch/neon64/codec.c b/lib/arch/neon64/codec.c index fc953b23..ef8b7c16 100644 --- a/lib/arch/neon64/codec.c +++ b/lib/arch/neon64/codec.c @@ -18,8 +18,12 @@ #include // Only enable inline assembly on supported compilers. -#if defined(__GNUC__) || defined(__clang__) -#define BASE64_NEON64_USE_ASM +#if defined(__clang__) +# if defined(__OPTIMIZE__) +# define BASE64_NEON64_USE_ASM +# endif +#elif defined(__GNUC__) +# define BASE64_NEON64_USE_ASM #endif static inline uint8x16x4_t