Skip to content

Commit

Permalink
JIT disabled build fix.
Browse files Browse the repository at this point in the history
Closes GH-6514.
  • Loading branch information
devnexen authored and nikic committed Dec 15, 2020
1 parent 2e974c8 commit 1e6c7e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/opcache/ZendAccelerator.c
Original file line number Diff line number Diff line change
Expand Up @@ -3058,8 +3058,10 @@ static zend_result accel_post_startup(void)
zend_accel_error(ACCEL_LOG_FATAL, "opcache.file_cache_only is set without a proper setting of opcache.file_cache");
return SUCCESS;
} else {
#ifdef HAVE_JIT
JIT_G(enabled) = 0;
JIT_G(on) = 0;
#endif
accel_shared_globals = calloc(1, sizeof(zend_accel_shared_globals));

/* Init auto-global strings */
Expand Down

0 comments on commit 1e6c7e7

Please sign in to comment.