summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 14:07:59 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 14:07:59 +0000
commitb4766a4d9ee5dca0d9491ae320131f065242b574 (patch)
treeb93fde0d0b646f5ae8bd818a761c6c3753656f13 /win32/Makefile.sub
parent4e3e0ac4df1c409d4ef11a3f665652af67d3def9 (diff)
support --disable-mjit-support on mswin32/64.
* win32/configure.bat: add --enable/disable-mjit-support configure.bat options. * win32/setup.mak: ditto. * win32/Makefile.sub: ditto. * win32/Makefile.sub: fix typo for congig.status file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub6
1 files changed, 5 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 1af689f..f81af2d 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -864,7 +864,11 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
#define RUBY_COREDLL "$(RT)"
#define RUBY_PLATFORM "$(arch)"
#define RUBY_SITEARCH "$(sitearch)"
+!if "$(MJIT_SUPPORT)" == "yes"
#define USE_MJIT 1
+!else
+#define USE_MJIT 0
+!endif
#endif /* $(guard) */
<<
@@ -1053,7 +1057,7 @@ s,@srcdir@,$(srcdir),;t t
s,@top_srcdir@,$(srcdir),;t t
s,@try_header@,try_compile,;t t
s,@ruby_pc@,$(ruby_pc),;t t
-s,@MJIT_SUPPORT,$(MJIT_SUPPORT),;t t
+s,@MJIT_SUPPORT@,$(MJIT_SUPPORT),;t t
<<KEEP
miniruby: miniruby$(EXEEXT)