mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
no longer enable gcc -O2 by default. -O2 hates backtraces.
This commit is contained in:
2
util/configure
vendored
2
util/configure
vendored
@ -278,7 +278,7 @@ sub build_resty_opts {
|
||||
$opts_line .= " \\\n --with-debug";
|
||||
|
||||
} else {
|
||||
unshift @ngx_cc_opts, '-O2';
|
||||
#unshift @ngx_cc_opts, '-O2';
|
||||
}
|
||||
|
||||
$opts_line .= " \\\n --with-cc-opt='@ngx_cc_opts'";
|
||||
|
Reference in New Issue
Block a user