summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-21 09:25:58 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-21 09:25:58 +0000
commitb069230a3a395ee57a9874bb6667bb704c09f2a8 (patch)
treeb8b6b7d465dfaeaa87ee196d7d8107227357ebd8 /Makefile.in
parentb8986bfdd69e54a1cd5ac9a51ebc6fc49446f8a1 (diff)
see ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index b2dddb4..e4b6fd5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -125,8 +125,18 @@ test: miniruby$(EXEEXT)
rbconfig.rb: miniruby$(EXEEXT)
@@MINIRUBY@ $(srcdir)/mkconfig.rb rbconfig.rb
-prep.rb: miniruby$(EXEEXT)
- @echo 'PLATFORM=RUBY_PLATFORM="@arch@"' > $@
+fake.rb: miniruby$(EXEEXT)
+ @echo ' \
+ class Object; \
+ remove_const :RUBY_PLATFORM; \
+ RUBY_PLATFORM = "@arch@"; \
+ if defined? PLATFORM; \
+ remove_const :PLATFORM; \
+ PLATFORM = "@arch@"; \
+ end; \
+ CROSS_COMPILING = true; \
+ end \
+ ' > $@
config.status: $(srcdir)/configure
$(SHELL) ./config.status --recheck