projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b85e39
)
mbed3 remove forcing _DEBUG
author
Andy Green
<andy.green@linaro.org>
Sat, 26 Dec 2015 07:07:45 +0000
(15:07 +0800)
committer
Andy 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
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
ba59a4a
..
a098a95
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-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)