summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-17 06:55:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-17 06:55:09 +0000
commit8d5bdaa6508dd4c469319f629471904d46adf6b5 (patch)
treeedcd38e2fc8aedc2338ae215c557cbfbd6d31617 /tool/make-snapshot
parent0e7c490811da80c04b66f201458ef82665951967 (diff)
downloadruby-8d5bdaa6508dd4c469319f629471904d46adf6b5.tar.gz
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
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 84358a68a2..ffd9bcaa88 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -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..."