[Groonga-commit] groonga/groonga at 6dfe582 [master] package windows: use --enable-debug option

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jan 16 09:51:45 JST 2015


Kouhei Sutou	2015-01-16 09:51:45 +0900 (Fri, 16 Jan 2015)

  New Revision: 6dfe58216f8f00670a1cd9766a6df52c1eca5bff
  https://github.com/groonga/groonga/commit/6dfe58216f8f00670a1cd9766a6df52c1eca5bff

  Message:
    package windows: use --enable-debug option

  Modified files:
    packages/windows/Rakefile

  Modified: packages/windows/Rakefile (+1 -2)
===================================================================
--- packages/windows/Rakefile    2015-01-15 12:58:33 +0900 (ac4fcf5)
+++ packages/windows/Rakefile    2015-01-16 09:51:45 +0900 (ecec475)
@@ -24,7 +24,6 @@ groonga_win32_x86_p = ENV["ARCHITECTURE"] == "x86"
 groonga_version = ENV["VERSION"]
 groonga_source = Pathname.new(ENV["SOURCE"]).expand_path
 debug_build_p = ENV["DEBUG_BUILD"] == "yes"
-debug_flags = ["CFLAGS=-ggdb3 -O0", "CXXFLAGS=-ggdb3 -O0"]
 
 if groonga_win32_x86_p
   dist_dir = Pathname.new("dist-x86").expand_path
@@ -260,7 +259,7 @@ namespace :build do
       else
         options << "--without-mecab"
       end
-      options.concat(debug_flags) if debug_build_p
+      options << "--enable-debug" if debug_build_p
       sh("./configure", *options) or exit(false)
       sh("env", "GREP_OPTIONS=--text", "nice", "make", "-j8") or exit(false)
       sh("env", "GREP_OPTIONS=--text", "make", "install") or exit(false)
-------------- next part --------------
HTML����������������������������...
Download 



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