mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
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:
2
util/configure
vendored
2
util/configure
vendored
@ -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 {
|
||||
|
Reference in New Issue
Block a user