Skip to content

Commit cbce5da

Browse files
committed
no longer enable gcc -O2 by default. -O2 hates backtraces.
1 parent 7244088 commit cbce5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ sub build_resty_opts {
278278
$opts_line .= " \\\n --with-debug";
279279

280280
} else {
281-
unshift @ngx_cc_opts, '-O2';
281+
#unshift @ngx_cc_opts, '-O2';
282282
}
283283

284284
$opts_line .= " \\\n --with-cc-opt='@ngx_cc_opts'";

0 commit comments

Comments
 (0)