aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib/jit_support.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/jit_support.rb')
-rw-r--r--test/lib/jit_support.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb
index 4f0d16d487..872bf4b699 100644
--- a/test/lib/jit_support.rb
+++ b/test/lib/jit_support.rb
@@ -46,7 +46,7 @@ module JITSupport
def supported?
return @supported if defined?(@supported)
@supported = UNSUPPORTED_COMPILERS.all? do |regexp|
- !regexp.match?(RbConfig::CONFIG['CC'])
+ !regexp.match?(RbConfig::CONFIG['MJIT_CC'])
end && RbConfig::CONFIG["MJIT_SUPPORT"] != 'no'
end