Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed CONFIG["optflags"]. before it is always "-O3". after specified …

…by optz_level.
  • Loading branch information...
commit 7b2cc48db7a727da80e7de79c3df5e2cd3d882a0 1 parent 58351a9
Kouji Takao takaokouji authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  rakelib/builder/templates.rb
2  rakelib/builder/templates.rb
View
@@ -165,7 +165,7 @@ module RbConfig
CONFIG["RDOCTARGET"] = "install-doc"
CONFIG["cppflags"] = ""
CONFIG["cflags"] = "$(optflags) $(debugflags) $(warnflags)"
- CONFIG["optflags"] = "-O3"
+ CONFIG["optflags"] = "-O#{OPTZ_LEVEL}"
CONFIG["debugflags"] = "-g"
CONFIG["warnflags"] = "-Wall"
CONFIG["LIBRUBY_LDSHARED"] = "/usr/bin/gcc -dynamiclib -undefined suppress -flat_namespace $(ARCH_FLAG)"
Please sign in to comment.
Something went wrong with that request. Please try again.