summaryrefslogtreecommitdiff
path: root/TestScripts/cryptest-ios.sh
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-03-08 17:46:09 -0500
committerJeffrey Walton <noloader@gmail.com>2021-03-08 17:46:09 -0500
commit9612e6c0a2f386a7184e449770d19214a13d765f (patch)
tree8a4b3996524fabe3e7413b411a8a83611239cc2d /TestScripts/cryptest-ios.sh
parent86f99ba129b998f2a6a76670c8de3d8ff377b383 (diff)
downloadcryptopp-git-9612e6c0a2f386a7184e449770d19214a13d765f.tar.gz
Update cryptest-*.sh scripts
Diffstat (limited to 'TestScripts/cryptest-ios.sh')
-rwxr-xr-xTestScripts/cryptest-ios.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/TestScripts/cryptest-ios.sh b/TestScripts/cryptest-ios.sh
index 10278ee9..3ae416b3 100755
--- a/TestScripts/cryptest-ios.sh
+++ b/TestScripts/cryptest-ios.sh
@@ -35,6 +35,17 @@ rm -rf "${TMPDIR}/build.log" 2>/dev/null
#############################################################################
+# Prepare the environment
+unset CXX CPPFLAGS CXXFLAGS LDFLAGS
+unset IOS_CPPFLAGS IOS_CXXFLAGS IOS_LDFLAGS IOS_SYSROOT
+
+if [[ -e TestScripts/setenv-ios.sh ]]; then
+ cp TestScripts/setenv-ios.sh .
+ chmod u+x setenv-ios.sh
+fi
+
+#############################################################################
+
# Hack a Bash data structure...
PLATFORMS=()
PLATFORMS+=("iPhoneOS:armv7")