From cbce5daa057af9fe10248ec589d5dd73f3e47d1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?agentzh=20=28=E7=AB=A0=E4=BA=A6=E6=98=A5=29?= Date: Wed, 13 Jul 2011 22:15:36 +0800 Subject: [PATCH] no longer enable gcc -O2 by default. -O2 hates backtraces. --- util/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/configure b/util/configure index f2d292c..c4f2ec6 100755 --- a/util/configure +++ b/util/configure @@ -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'";