no longer enable gcc -O2 by default. -O2 hates backtraces.

This commit is contained in:
agentzh (章亦春) 2011-07-13 22:15:36 +08:00
parent 7244088ed0
commit cbce5daa05
1 changed files with 1 additions and 1 deletions

2
util/configure vendored
View File

@ -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'";