Skip to content

Commit

Permalink
Merge pull request #5 from Abandon-ht/master
Browse files Browse the repository at this point in the history
Add -DCMAKE_BUILD_TYPE=Release
  • Loading branch information
BUG1989 committed Jul 25, 2024
2 parents 2d6867e + 63c0ab6 commit 903eb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 903eb93

Please sign in to comment.