diff --git a/Rakefile b/Rakefile index c8457c75549..0b1462253f8 100755 --- a/Rakefile +++ b/Rakefile @@ -88,7 +88,7 @@ task 'dlls' do 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 += 'CXXFLAGS="-std=c++11 -fno-exceptions" ' env += 'LDFLAGS=-static ' env += 'SYSTEM=MINGW32 ' env += 'EMBED_ZLIB=true '