mbed3 remove forcing _DEBUG
authorAndy Green <andy.green@linaro.org>
Sat, 26 Dec 2015 07:07:45 +0000 (15:07 +0800)
committerAndy Green <andy.green@linaro.org>
Sat, 26 Dec 2015 07:07:45 +0000 (15:07 +0800)
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>
CMakeLists.txt

index ba59a4a..a098a95 100644 (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)