Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  rakelib/builder/templates.rb
2  rakelib/builder/templates.rb
@@ -165,7 +165,7 @@ module RbConfig
165 165 CONFIG["RDOCTARGET"] = "install-doc"
166 166 CONFIG["cppflags"] = ""
167 167 CONFIG["cflags"] = "$(optflags) $(debugflags) $(warnflags)"
168   - CONFIG["optflags"] = "-O3"
  168 + CONFIG["optflags"] = "-O#{OPTZ_LEVEL}"
169 169 CONFIG["debugflags"] = "-g"
170 170 CONFIG["warnflags"] = "-Wall"
171 171 CONFIG["LIBRUBY_LDSHARED"] = "/usr/bin/gcc -dynamiclib -undefined suppress -flat_namespace $(ARCH_FLAG)"

0 comments on commit 7b2cc48

Please sign in to comment.
Something went wrong with that request. Please try again.