File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,11 +77,15 @@ if [ ! -e ${WORKSPACE}/wolfssl-install ]; then
7777 fi
7878 cd ${WORKSPACE} /wolfssl-source && \
7979 CC=x86_64-linux-android34-clang ./configure ${WOLFSSL_CONFIG_OPTS} " ${WOLFSSL_CONFIG_CPPFLAGS} " -prefix=${WORKSPACE} /wolfssl-install --host=x86_64-linux-android --disable-asm CFLAGS=-fPIC && \
80- make && \
80+ make
81+ checkReturn $?
82+ if [ " ${USE_FIPS} " = " true" ]; then
8183 adb push --sync src/.libs/libwolfssl.so ./wolfcrypt/test/.libs/testwolfcrypt /data/local/tmp/ && \
8284 NEWHASH=$( adb shell " LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/testwolfcrypt 2>&1 | sed -n 's/hash = \(.*\)/\1/p'" ) && \
8385 sed -i " s/^\" .*\" ;/\" ${NEWHASH} \" ;/" wolfcrypt/src/fips_test.c && \
84- make -j install
86+ checkReturn $?
87+ fi
88+ make -j install
8589 checkReturn $?
8690fi
8791export LD_LIBRARY_PATH=" ${WORKSPACE} /wolfssl-install/lib:$LD_LIBRARY_PATH "
You can’t perform that action at this time.
0 commit comments