diff options
author | David Carlier <devnexen@gmail.com> | 2020-12-14 18:42:52 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-15 09:51:16 +0100 |
commit | 1e6c7e776c1f8958524d5b7af047e55108d870d2 (patch) | |
tree | 009e57d7f3cfdbace63107e603d54b17e9e07c18 | |
parent | 2e974c8c81771883d85af9cef6d5563db5b381df (diff) | |
download | php-git-1e6c7e776c1f8958524d5b7af047e55108d870d2.tar.gz |
JIT disabled build fix.
Closes GH-6514.
-rw-r--r-- | ext/opcache/ZendAccelerator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 5c7f31b487..19fc938228 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -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 */ |