#478 Fixed totally broken reconnect.

This commit is contained in:
XMRig 2018-03-26 11:47:01 +07:00
parent f852996f97
commit 6f4ed5f66d
4 changed files with 44 additions and 16 deletions

View file

@ -6,6 +6,10 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "")
set(CMAKE_BUILD_TYPE Release)
endif()
if (CMAKE_BUILD_TYPE STREQUAL "Release")
add_definitions(/DNDEBUG)
endif()
if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-strict-aliasing")