Turns out that +neon architecture extension is required (and accepted) only by
the (buggy) clang 3.x in NDK r14 while both gcc and clang > 3 error out when
they see +neon... So, the magic incantation contained in this commit appears
to work for all of them. Tested manually with clang 3.x, clang 7.x, gcc
7.x (aarch64 cross-compiler on Linux) and gcc 8.x (aarch64 cross-compiler on
Linux)
Turns out that
+neon
architecture extension is required (and accepted) only by the (buggy) clang 3.x in NDK r14 while both gcc and clang > 3 error out when they see+neon
... So, the magic incantation contained in this commit appears to work for all of them. Tested manually with clang 3.x, clang 7.x, gcc 7.x (aarch64 cross-compiler on Linux) and gcc 8.x (aarch64 cross-compiler on Linux)