From d7dbc9961e8186bd68d0f884e4fec63ab8e98bc1 Mon Sep 17 00:00:00 2001 From: sunsuodong Date: Thu, 22 Apr 2021 19:59:48 +0800 Subject: [PATCH] fix arm64 compile --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 6af7a0d08fe..e0f494f9b62 100755 --- a/build.sh +++ b/build.sh @@ -340,7 +340,7 @@ checkopts() esac done - if [[ "X$RUN_TESTCASES" == "Xon" && "X$DEVICE" != "X" ]]; then + if [[ "X$RUN_TESTCASES" == "Xon" && "X$DEVICE" != "X" && "X$COMPILE_LITE" != "Xon" ]]; then echo "WARNING:Option -e can't be set while option -t on/ut is set, reset device to empty." DEVICE="" fi