Skip to content

Commit

Permalink
Fixed compilation warnings on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Jan 22, 2022
1 parent f6340c0 commit edd6d8f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions Dockerfiles/build-base/windows/Dockerfile.agent
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
cmake --log-level=ERROR `
-G 'Visual Studio 16 2019' `
-A $env:BUILD_ARCH `
-DPCRE_SUPPORT_UNICODE_PROPERTIES=ON `
-DPCRE_SUPPORT_UTF=ON `
-DBUILD_SHARED_LIBS=OFF `
-DCMAKE_C_FLAGS_RELEASE:string="""/MT""" ..; `
msbuild PCRE2.sln `
-maxcpucount:"""$env:NUMBER_OF_PROCESSORS""" `
Expand Down
1 change: 0 additions & 1 deletion Dockerfiles/build-base/windows/Dockerfile.agent2
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ RUN Set-Location -Path $env:SystemDrive\.; `
-DBUILD_SHARED_LIBS=OFF `
-DCMAKE_C_COMPILER=gcc `
-DCMAKE_C_FLAGS='-O2 -g' `
-DCMAKE_CXX_FLAGS='-O2 -g' `
-DCMAKE_INSTALL_PREFIX="""$env:SystemDrive\pcre2_output""" . ; `
mingw32-make -s -j"""$env:NUMBER_OF_PROCESSORS"""; `
mingw32-make -s -j"""$env:NUMBER_OF_PROCESSORS""" install; `
Expand Down

0 comments on commit edd6d8f

Please sign in to comment.