Skip to content

Commit

Permalink
building the ripper extension (but not installing it yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrz committed Jul 5, 2009
1 parent fb4a9dc commit def059d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions rakelib/builder.rake
Expand Up @@ -193,7 +193,7 @@ module RbConfig
CONFIG["RDOCTARGET"] = "install-doc"
CONFIG["cppflags"] = ""
CONFIG["cflags"] = "$(optflags) $(debugflags) $(warnflags)"
CONFIG["optflags"] = "-O2"
CONFIG["optflags"] = "-O3"
CONFIG["debugflags"] = "-g"
CONFIG["warnflags"] = "-Wall -Wno-parentheses"
CONFIG["LIBRUBY_LDSHARED"] = "gcc -dynamiclib -undefined suppress -flat_namespace"
Expand Down Expand Up @@ -317,7 +317,11 @@ task :extensions => [:miniruby, "macruby:static"] do
=begin
sh "./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ext/extmk.rb #{EXTMK_ARGS}"
=end
$stderr.puts "Skipping extensions build (for now)..."
Dir.chdir('ext/ripper') do
sh "../../miniruby extconf.rb"
sh "/usr/bin/make top_srcdir=../.. ruby=../../miniruby"
end
$stderr.puts "Skipping other extensions (for now)..."
end

namespace :framework do
Expand Down

0 comments on commit def059d

Please sign in to comment.