mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-23 06:49:34 +01:00
Fixed compilation warnings on Windows
This commit is contained in:
parent
f6340c05b5
commit
edd6d8fd46
@ -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""" `
|
||||
|
@ -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; `
|
||||
|
Loading…
Reference in New Issue
Block a user