File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ if test "$PHP_OPCACHE" != "no"; then
96
96
97
97
JIT_CFLAGS=
98
98
99
- elif test "$PHP_OPCACHE_JIT_IR" = "yes"; then
99
+ elif test "$PHP_OPCACHE_JIT" = "yes" -a "$ PHP_OPCACHE_JIT_IR" = "yes"; then
100
100
AC_DEFINE ( HAVE_JIT , 1 , [ Define to enable JIT] )
101
101
AC_DEFINE ( ZEND_JIT_IR , 1 , [ Use JIT IR framework] )
102
102
ZEND_JIT_SRC="jit/zend_jit.c jit/zend_jit_vm_helpers.c jit/ir/ir.c jit/ir/ir_strtab.c \
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ if (PHP_OPCACHE != "no") {
39
39
} else {
40
40
WARNING("JIT not enabled, headers not found");
41
41
}
42
- } else if (PHP_OPCACHE_JIT_IR == "yes") {
42
+ } else if (PHP_OPCACHE_JIT == "yes" && PHP_OPCACHE_JIT_IR == "yes") {
43
43
if (CHECK_HEADER_ADD_INCLUDE("ir/ir.h", "CFLAGS_OPCACHE", PHP_OPCACHE + ";ext\\opcache\\jit")) {
44
44
var dasm_flags = (X64 ? "-D X64=1" : "") + (X64 ? " -D X64WIN=1" : "") + " -D WIN=1";
45
45
var ir_target = (X64 ? "IR_TARGET_X64" : "IR_TARGET_X86");
You can’t perform that action at this time.
0 commit comments