diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-08-09 03:11:12 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-08-09 03:11:12 -0400 |
commit | 82d8257b36afe3bf903ae02f56ce5d985397e16d (patch) | |
tree | a8742a1aaaffccc165e0e790aaeb792775d4e81f /TestScripts | |
parent | 5856c5bf4a3e84e929e160408c07dd3452a98eb8 (diff) | |
download | cryptopp-git-82d8257b36afe3bf903ae02f56ce5d985397e16d.tar.gz |
Fix ARM32 compile with Clang
Diffstat (limited to 'TestScripts')
-rwxr-xr-x | TestScripts/configure.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TestScripts/configure.sh b/TestScripts/configure.sh index e904fd7b..c2389aed 100755 --- a/TestScripts/configure.sh +++ b/TestScripts/configure.sh @@ -384,6 +384,9 @@ if [[ "$disable_asm" -eq 0 && "$IS_ARM32" -ne 0 ]]; then if [[ "$IS_IOS" -ne 0 ]]; then ARMV7_FLAG="-arch arm" NEON_FLAG="-arch arm" + elif [[ "$CLANG_COMPILER" -ne 0 ]]; then + ARMV7_FLAG="-march=armv7" + NEON_FLAG="-march=armv7 -mfpu=neon" else ARMV7_FLAG="-march=armv7" NEON_FLAG="-mfpu=neon" |