diff options
Diffstat (limited to 'TestScripts/cryptest-ios.sh')
-rwxr-xr-x | TestScripts/cryptest-ios.sh | 11 |
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") |