mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-11 08:09:04 +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 `
|
cmake --log-level=ERROR `
|
||||||
-G 'Visual Studio 16 2019' `
|
-G 'Visual Studio 16 2019' `
|
||||||
-A $env:BUILD_ARCH `
|
-A $env:BUILD_ARCH `
|
||||||
-DPCRE_SUPPORT_UNICODE_PROPERTIES=ON `
|
-DBUILD_SHARED_LIBS=OFF `
|
||||||
-DPCRE_SUPPORT_UTF=ON `
|
|
||||||
-DCMAKE_C_FLAGS_RELEASE:string="""/MT""" ..; `
|
-DCMAKE_C_FLAGS_RELEASE:string="""/MT""" ..; `
|
||||||
msbuild PCRE2.sln `
|
msbuild PCRE2.sln `
|
||||||
-maxcpucount:"""$env:NUMBER_OF_PROCESSORS""" `
|
-maxcpucount:"""$env:NUMBER_OF_PROCESSORS""" `
|
||||||
|
@ -189,7 +189,6 @@ RUN Set-Location -Path $env:SystemDrive\.; `
|
|||||||
-DBUILD_SHARED_LIBS=OFF `
|
-DBUILD_SHARED_LIBS=OFF `
|
||||||
-DCMAKE_C_COMPILER=gcc `
|
-DCMAKE_C_COMPILER=gcc `
|
||||||
-DCMAKE_C_FLAGS='-O2 -g' `
|
-DCMAKE_C_FLAGS='-O2 -g' `
|
||||||
-DCMAKE_CXX_FLAGS='-O2 -g' `
|
|
||||||
-DCMAKE_INSTALL_PREFIX="""$env:SystemDrive\pcre2_output""" . ; `
|
-DCMAKE_INSTALL_PREFIX="""$env:SystemDrive\pcre2_output""" . ; `
|
||||||
mingw32-make -s -j"""$env:NUMBER_OF_PROCESSORS"""; `
|
mingw32-make -s -j"""$env:NUMBER_OF_PROCESSORS"""; `
|
||||||
mingw32-make -s -j"""$env:NUMBER_OF_PROCESSORS""" install; `
|
mingw32-make -s -j"""$env:NUMBER_OF_PROCESSORS""" install; `
|
||||||
|
Loading…
Reference in New Issue
Block a user