From 8d5bdaa6508dd4c469319f629471904d46adf6b5 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 17 Jan 2015 06:55:09 +0000 Subject: 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 --- tool/make-snapshot | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tool/make-snapshot') 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..." -- cgit v1.2.3