1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00

mbed3 remove forcing _DEBUG

It saves us ~4KB of lwsl_info / _debug etc strings.

The test app comes in at 114KB then, including 19KB of html, png and ico assets.

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2015-12-26 15:07:45 +08:00
parent 5b85e39d99
commit a24b40860f

View file

@ -244,9 +244,9 @@ if (LWS_WITH_HTTP2)
set(LWS_USE_HTTP2 1)
endif()
if (LWS_MBED3)
set(CMAKE_C_FLAGS "-D_DEBUG ${CMAKE_C_FLAGS}")
endif()
#if (LWS_MBED3)
# set(CMAKE_C_FLAGS "-D_DEBUG ${CMAKE_C_FLAGS}")
#endif()
if (MINGW)
set(LWS_MINGW_SUPPORT 1)