[Groonga-commit] ranguba/rroonga at 4676513 [master] Use --enable-debug

Back to archive index
Kouhei Sutou null+****@clear*****
Wed May 8 10:01:18 JST 2019


Kouhei Sutou	2019-05-08 10:01:18 +0900 (Wed, 08 May 2019)

  Revision: 4676513817d13164855fb070d8fc27c5e7fe0891
  https://github.com/ranguba/rroonga/commit/4676513817d13164855fb070d8fc27c5e7fe0891

  Message:
    Use --enable-debug

  Modified files:
    ext/groonga/extconf.rb

  Modified: ext/groonga/extconf.rb (+1 -2)
===================================================================
--- ext/groonga/extconf.rb    2019-05-08 10:00:37 +0900 (f2624828)
+++ ext/groonga/extconf.rb    2019-05-08 10:01:18 +0900 (8e254fbd)
@@ -162,8 +162,7 @@ end
 def configure_command_line(prefix)
   command_line = ["./configure"]
   debug_build_p = ENV["RROONGA_DEBUG_BUILD"] == "yes"
-  debug_flags = ["CFLAGS=-g3 -O0", "CXXFLAGS=-g3 -O0"]
-  command_line.concat(debug_flags) if debug_build_p
+  command_line.concat("--enable-debug") if debug_build_p
   command_line << "--prefix=#{prefix}"
   command_line << "--disable-static"
   command_line << "--disable-document"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190508/dcdfec71/attachment-0001.html>


More information about the Groonga-commit mailing list
Back to archive index