From 63c0ab64ca2aca01a84d9a8f9d47d6ffb7182a2b Mon Sep 17 00:00:00 2001 From: LittleMouse Date: Wed, 24 Jul 2024 17:41:25 +0800 Subject: [PATCH] Add -DCMAKE_BUILD_TYPE=Release --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 7267655..4fe0024 100755 --- a/build.sh +++ b/build.sh @@ -50,6 +50,6 @@ if [ $? -ne 0 ]; then fi # 开始编译 -cmake -DBSP_MSP_DIR=${BSP_MSP_DIR} -DCMAKE_TOOLCHAIN_FILE=../toolchains/aarch64-none-linux-gnu.toolchain.cmake .. +cmake -DBSP_MSP_DIR=${BSP_MSP_DIR} -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../toolchains/aarch64-none-linux-gnu.toolchain.cmake .. make -j16 make install \ No newline at end of file