mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0e7c490811
commit
8d5bdaa650
1 changed files with 2 additions and 0 deletions
|
@ -245,6 +245,8 @@ def package(vcs, rev, destdir, tmp = nil)
|
|||
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..."
|
||||
|
|
Loading…
Reference in a new issue