File tree Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ PHP NEWS
42
42
43
43
- JIT:
44
44
. Fixed bug #77857 (Wrong result if executed with JIT). (Laruence)
45
+ . Fixed bug #79255 (PHP cannot be compiled with enable JIT). (Laruence)
45
46
46
47
- LDAP:
47
48
. Removed deprecated ldap_sort. (mcmic)
Original file line number Diff line number Diff line change @@ -42,19 +42,14 @@ if test "$PHP_OPCACHE" != "no"; then
42
42
AC_DEFINE ( HAVE_JIT , 1 , [ Define to enable JIT] )
43
43
ZEND_JIT_SRC="jit/zend_jit.c jit/zend_jit_vm_helpers.c"
44
44
45
- dnl Find out which ABI we are using.
46
- echo 'int i;' > conftest.$ac_ext
47
- if AC_TRY_EVAL(ac_compile); then
48
- case `/usr/bin/file conftest.o` in
49
- *"Mach-O 64-bit"*)
50
- DASM_FLAGS="-D X64APPLE=1 -D X64=1"
51
- ;;
52
- *64-bit*)
53
- DASM_FLAGS="-D X64=1"
54
- ;;
55
- esac
56
- fi
57
- rm -rf conftest*
45
+ case $host_alias in
46
+ *x86_64-*-darwin*)
47
+ DASM_FLAGS="-D X64APPLE=1 -D X64=1"
48
+ ;;
49
+ *x86_64*)
50
+ DASM_FLAGS="-D X64=1"
51
+ ;;
52
+ esac
58
53
59
54
if test "$enable_zts" = "yes"; then
60
55
DASM_FLAGS="$DASM_FLAGS -D ZTS=1"
You can’t perform that action at this time.
0 commit comments