ruby-changes:37213
From: nobu <ko1@a...>
Date: Sat, 17 Jan 2015 15:55:27 +0900 (JST)
Subject: [ruby-changes:37213] nobu:r49294 (trunk): make-snapshot: clear RUBY_PLATFORM
nobu 2015-01-17 15:55:09 +0900 (Sat, 17 Jan 2015) New Revision: 49294 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49294 Log: make-snapshot: clear RUBY_PLATFORM * tool/make-snapshot (package): clear RUBY_PLATFORM of the building platform to suppress warnings in rbconfig.rb at universal-darwin. Modified files: trunk/tool/make-snapshot Index: tool/make-snapshot =================================================================== --- tool/make-snapshot (revision 49293) +++ tool/make-snapshot (revision 49294) @@ -245,6 +245,8 @@ def package(vcs, rev, destdir, tmp = nil https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L245 File.open(clean.add("cross.rb"), "w") do |f| f.puts "Object.__send__(:remove_const, :CROSS_COMPILING) if defined?(CROSS_COMPILING)" f.puts "CROSS_COMPILING=true" + f.puts "Object.__send__(:remove_const, :RUBY_PLATFORM)" + f.puts "RUBY_PLATFORM='none'" end unless File.exist?("configure") print "creating configure..." -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/