On 31.01.2015 17:43, Alexander Kurakin wrote: > How can I disable debug mode and avoid -g flag during compilation of > libmmicrohttpd?
Usually - by invoking configure script with the CFLAGS you want, like: ./configure CFLAGS="-g -O2" or ./configure CFLAGS="-g0 -O3" Note that you can strip debug information from the binaries at any time using the objcopy program from binutils package. Debug mode is not enabled by default, AFAIU, it's enabled when you pass MHD_USE_DEBUG to the library call MHD_start_daemon() or MHD_start_daemon_va(). -- O< ascii ribbon - stop html email! - www.asciiribbon.org
0x922360B0.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
