mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
php: fix runtime error on big endian
Fixes #6566 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
797952e1ae
commit
21a4a9003e
@ -19,6 +19,11 @@ PHP_CONF_OPT = --mandir=/usr/share/man \
|
|||||||
--with-config-file-path=/etc \
|
--with-config-file-path=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--disable-rpath
|
--disable-rpath
|
||||||
|
ifeq ($(BR2_ENDIAN),"BIG")
|
||||||
|
PHP_CONF_ENV = ac_cv_c_bigendian_php=yes
|
||||||
|
else
|
||||||
|
PHP_CONF_ENV = ac_cv_c_bigendian_php=no
|
||||||
|
endif
|
||||||
PHP_CONFIG_SCRIPTS = php-config
|
PHP_CONFIG_SCRIPTS = php-config
|
||||||
|
|
||||||
PHP_CFLAGS = $(TARGET_CFLAGS)
|
PHP_CFLAGS = $(TARGET_CFLAGS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user