diff options
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1421,10 +1421,10 @@ proc_long_options(ruby_cmdline_options_t *opt, const char *s, long argc, char ** ruby_verbose = Qtrue; } else if (strcmp("jit", s) == 0) { -#if !USE_RJIT - rb_warn("Ruby was built without JIT support"); -#else +#if USE_YJIT || USE_RJIT FEATURE_SET(opt->features, FEATURE_BIT(jit)); +#else + rb_warn("Ruby was built without JIT support"); #endif } else if (is_option_with_optarg("rjit", '-', true, false, false)) { |