MinGW: Enable -Werror by default
This commit is contained in:
parent
b801ea0191
commit
a201eaf118
|
@ -49,12 +49,7 @@ option(BUILD_sharkd "Build sharkd" ON)
|
||||||
option(BUILD_mmdbresolve "Build MaxMind DB resolver" ON)
|
option(BUILD_mmdbresolve "Build MaxMind DB resolver" ON)
|
||||||
option(BUILD_fuzzshark "Build fuzzshark" OFF)
|
option(BUILD_fuzzshark "Build fuzzshark" OFF)
|
||||||
|
|
||||||
if (USE_MSYSTEM)
|
option(ENABLE_WERROR "Treat warnings as errors" ON)
|
||||||
# XXX Doesn't build cleanly yet with GCC.
|
|
||||||
option(ENABLE_WERROR "Treat warnings as errors" OFF)
|
|
||||||
else()
|
|
||||||
option(ENABLE_WERROR "Treat warnings as errors" ON)
|
|
||||||
endif()
|
|
||||||
# Debugging is enabled for "Debug" and "RelWithDebInfo" build types.
|
# Debugging is enabled for "Debug" and "RelWithDebInfo" build types.
|
||||||
option(ENABLE_DEBUG "Enable debugging for all build configurations" OFF)
|
option(ENABLE_DEBUG "Enable debugging for all build configurations" OFF)
|
||||||
# UTF-8 debugging is enabled for "Debug" and "RelWithDebInfo" build types.
|
# UTF-8 debugging is enabled for "Debug" and "RelWithDebInfo" build types.
|
||||||
|
|
Loading…
Reference in New Issue