Skip to content

Commit

Permalink
Add -DCMAKE_BUILD_TYPE=Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Abandon-ht committed Jul 24, 2024
1 parent 2d6867e commit 63c0ab6
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 63c0ab6

Please sign in to comment.