summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index a8d1ad79cd..43ed440f4c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -137,11 +137,9 @@ fake.rb: miniruby$(EXEEXT)
@echo ' \
class Object; \
remove_const :RUBY_PLATFORM; \
+ remove_const :RUBY_VERSION; \
RUBY_PLATFORM = "@arch@"; \
- if defined? PLATFORM; \
- remove_const :PLATFORM; \
- PLATFORM = "@arch@"; \
- end; \
+ RUBY_VERSION = "@MAJOR@.@MINOR@.@TEENY@"; \
CROSS_COMPILING = true; \
end \
' > $@