Hello!
On Tue, Jul 14, 2015 at 9:16 PM, Kipras Mancevičius wrote:
> When running "./configure --help" it states that:
>> --with-debug enable the debugging logging and also
>> enable -O0 -g for the C compiler.
>> this not only affects nginx, but also
>> other components.
> However, in the cc commands i don't see "-O0", only the default "-O2". Could
> it be that the manual is wrong/outdated ?
>
Nice catch. This usage text needs updates. I've committed a fix.
BTW, you can always use --with-cc-opt="-O0" to disable the C compiler
optimizations for nginx.
Regards,
-agentzh