aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-12-04 22:16:07 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2019-12-04 22:16:08 -0800
commit5fbb4555b427909aed4fe2376c4c583849c1d51c (patch)
tree4c7accd8a9953912051ecd6a1d131e2d92dcfacb /tool
parent199bd851e40438380b2e0f57662a212200e3ba1a (diff)
downloadruby-5fbb4555b427909aed4fe2376c4c583849c1d51c.tar.gz
Prefer using MJIT_CC for JIT support check
because Solaris might have CC=cc and we'd like to check full path MJIT_CC=/opt/developerstudio12.5/bin/cc instead.
Diffstat (limited to 'tool')
-rwxr-xr-xtool/mkconfig.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb
index 586eb9ec59..f5e8809fcf 100755
--- a/tool/mkconfig.rb
+++ b/tool/mkconfig.rb
@@ -62,7 +62,7 @@ File.foreach "config.status" do |line|
when /^(?:X|(?:MINI|RUN|(?:HAVE_)?BASE|BOOTSTRAP|BTEST)RUBY(?:_COMMAND)?$)/; next
when /^INSTALLDOC|TARGET$/; next
when /^DTRACE/; next
- when /^MJIT_SUPPORT/; # pass
+ when /^MJIT_(CC|SUPPORT)/; # pass
when /^MJIT_/; next
when /^(?:MAJOR|MINOR|TEENY)$/; vars[name] = val; next
when /^LIBRUBY_D?LD/; next