Skip to content

Commit

Permalink
修改 -DCMAKE_C_STANDARD=C99 为 99
Browse files Browse the repository at this point in the history
  • Loading branch information
bandeapart committed Jan 4, 2025
1 parent 8e4e930 commit 37883ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib_build_scripts/3_buildlibs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ for arch in $archs; do
cd $libgit2src
mkdir -p $build_out_tmp
cd $build_out_tmp
$CMAKE_PATH .. -DCMAKE_TOOLCHAIN_FILE=$toolchainfile -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_BUILD_TYPE=Release -DUSE_SSH=ON -DBUILD_TESTS=OFF -DBUILD_CLI=OFF -DBUILD_EXAMPLES=OFF -DBUILD_FUZZERS=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_C_STANDARD=C99
$CMAKE_PATH .. -DCMAKE_TOOLCHAIN_FILE=$toolchainfile -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_BUILD_TYPE=Release -DUSE_SSH=ON -DBUILD_TESTS=OFF -DBUILD_CLI=OFF -DBUILD_EXAMPLES=OFF -DBUILD_FUZZERS=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_C_STANDARD=99

$CMAKE_PATH --build . --target install

Expand Down

0 comments on commit 37883ef

Please sign in to comment.