summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
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..."