[Groonga-commit] groonga/groonga [master] httpd: use debug flags on --with-debug

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 24日 (火) 17:59:51 JST


Kouhei Sutou	2012-07-24 17:59:51 +0900 (Tue, 24 Jul 2012)

  New Revision: 466c4dd907daa47af788b51adc3d1136f01cd666
  https://github.com/groonga/groonga/commit/466c4dd907daa47af788b51adc3d1136f01cd666

  Log:
    httpd: use debug flags on --with-debug

  Modified files:
    vendor/nginx/configure

  Modified: vendor/nginx/configure (+7 -0)
===================================================================
--- vendor/nginx/configure    2012-07-24 17:59:36 +0900 (2216bac)
+++ vendor/nginx/configure    2012-07-24 17:59:51 +0900 (3b463d2)
@@ -44,3 +44,10 @@ cd "../nginx-${nginx_version}"
   --add-module="${GROONGA_HTTPD_MODULE_PATH}" \
   --without-http_rewrite_module \
   ${configure_args}
+
+if [ "$GROONGA_HTTPD_DEBUG" = "yes" ]; then
+  sed -i'' \
+    -e '/^CFLAGS =/ s/ -O / -O0 /' \
+    -e '/^CFLAGS =/ s/ -g / -ggdb3 /' \
+    objs/Makefile
+fi
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index