Navigation Menu

Skip to content

Commit

Permalink
Use -DDISABLE_DTRACE C flags instead of applying a patch
Browse files Browse the repository at this point in the history
We need GNU build tools to apply changes for configure.ac.
  • Loading branch information
kou committed Feb 18, 2013
1 parent 3a756f0 commit a937850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mroonga.rb
Expand Up @@ -25,7 +25,6 @@ def options

def patches
[
"https://github.com/mroonga/mroonga/commit/48db5dd5da85e926962fe7f8ba9e7bb5748ffd3f.diff",
]
end

Expand Down Expand Up @@ -126,6 +125,7 @@ def build_configure_args(mysql_source_path, mysql_config_path)
end

def install_mroonga(mysql_source_path, mysql_config_path)
append_to_cflags("-DDISABLE_DTRACE") # Remove me since 3.0.1
configure_args = build_configure_args(mysql_source_path, mysql_config_path)
system("./configure", *configure_args)
system("make")
Expand Down

0 comments on commit a937850

Please sign in to comment.