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

pull/4/head
agentzh (章亦春) 14 years ago
parent 7244088ed0
commit cbce5daa05

2
util/configure vendored

@ -278,7 +278,7 @@ sub build_resty_opts {
$opts_line .= " \\\n --with-debug"; $opts_line .= " \\\n --with-debug";
} else { } else {
unshift @ngx_cc_opts, '-O2'; #unshift @ngx_cc_opts, '-O2';
} }
$opts_line .= " \\\n --with-cc-opt='@ngx_cc_opts'"; $opts_line .= " \\\n --with-cc-opt='@ngx_cc_opts'";

Loading…
Cancel
Save