|
|
|
@ -80,7 +80,9 @@ task 'dlls' do |
|
|
|
|
grpc_config = ENV['GRPC_CONFIG'] || 'opt' |
|
|
|
|
verbose = ENV['V'] || '0' |
|
|
|
|
|
|
|
|
|
env = 'CPPFLAGS="-D_WIN32_WINNT=0x600 -DUNICODE -D_UNICODE -D_POSIX -Wno-unused-variable -Wno-unused-result -DCARES_STATICLIB -Wno-error=conversion -Wno-incompatible-pointer-types -Wno-sign-compare -Wno-parentheses" ' |
|
|
|
|
env = 'CPPFLAGS="-D_WIN32_WINNT=0x600 -DNTDDI_VERSION=0x06000000 -DUNICODE -D_UNICODE -Wno-unused-variable -Wno-unused-result -DCARES_STATICLIB -Wno-error=conversion -Wno-sign-compare -Wno-parentheses -Wno-format -DWIN32_LEAN_AND_MEAN" ' |
|
|
|
|
env += 'CFLAGS="-Wno-incompatible-pointer-types" ' |
|
|
|
|
env += 'CXXFLAGS="-std=c++11" ' |
|
|
|
|
env += 'LDFLAGS=-static ' |
|
|
|
|
env += 'SYSTEM=MINGW32 ' |
|
|
|
|
env += 'EMBED_ZLIB=true ' |
|
|
|
|