summaryrefslogtreecommitdiff
path: root/TestScripts
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-08-09 03:11:12 -0400
committerJeffrey Walton <noloader@gmail.com>2020-08-09 03:11:12 -0400
commit82d8257b36afe3bf903ae02f56ce5d985397e16d (patch)
treea8742a1aaaffccc165e0e790aaeb792775d4e81f /TestScripts
parent5856c5bf4a3e84e929e160408c07dd3452a98eb8 (diff)
downloadcryptopp-git-82d8257b36afe3bf903ae02f56ce5d985397e16d.tar.gz
Fix ARM32 compile with Clang
Diffstat (limited to 'TestScripts')
-rwxr-xr-xTestScripts/configure.sh3
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"