Now we are building with -O0 -g and debug enabled by default.
--disable-debug in configure will get you a -04 without -g
Signed-off-by: Andy Green <andy.green@linaro.org>
- cutomizable frame rx buffer size by protocol
-
+ - By default debug is enabled and the library is built for -O0 -g to faclitate
+ that. Use --disable-debug configure option to build instead with -O4
+ and no -g (debug info), obviously providing best performance and
+ reduced binary size.
v1.1-chrome26-firefox18
=======================
AC_CONFIG_SRCDIR([test-server/test-server.c])
AC_CONFIG_HEADERS([config.h])
+: ${CFLAGS=""}
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AM_PROG_AR
LT_INIT(shared)
if DISABLE_DEBUG
libwebsockets_la_CFLAGS+= -O4
else
-libwebsockets_la_CFLAGS+= -g
+libwebsockets_la_CFLAGS+= -O0 -g
endif
if MINGW