mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Add host_cpu type for FreeBSD
In FreeBSD world x86_64 host type is identified as amd64 so add proper checks for FreeBSD amd64 hosts. Close GH-12736
This commit is contained in:
parent
d8e866da04
commit
6be4ba9f90
1 changed files with 3 additions and 2 deletions
|
@ -29,7 +29,7 @@ if test "$PHP_OPCACHE" != "no"; then
|
|||
|
||||
if test "$PHP_OPCACHE_JIT" = "yes"; then
|
||||
case $host_cpu in
|
||||
i[[34567]]86*|x86*|aarch64)
|
||||
i[[34567]]86*|x86*|aarch64|amd64)
|
||||
;;
|
||||
*)
|
||||
AC_MSG_WARN([JIT not supported by host architecture])
|
||||
|
@ -48,7 +48,8 @@ if test "$PHP_OPCACHE" != "no"; then
|
|||
DASM_FLAGS="-D X64APPLE=1 -D X64=1"
|
||||
DASM_ARCH="x86"
|
||||
;;
|
||||
x86_64*)
|
||||
*x86_64*|amd64-*-freebsd*)
|
||||
IR_TARGET=IR_TARGET_X64
|
||||
DASM_FLAGS="-D X64=1"
|
||||
DASM_ARCH="x86"
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue