change: "./configure --with-debug" now also pass the extra C compiler options -DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC for ngx_lua.

This commit is contained in:
Yichun Zhang (agentzh)
2014-07-04 18:57:47 -07:00
parent 217b21e928
commit b1f221b066
2 changed files with 6 additions and 1 deletions

2
util/configure vendored
View File

@ -445,7 +445,7 @@ _END_
my $opts_line = '';
if ($opts->{debug}) {
#unshift @ngx_cc_opts, '-O0';
unshift @ngx_cc_opts, '-DNGX_LUA_USE_ASSERT', '-DNGX_LUA_ABORT_AT_PANIC';
$opts_line .= " \\\n --with-debug";
} else {