Commit 21a4a900 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

php: fix runtime error on big endian



Fixes #6566

Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 797952e1
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -19,6 +19,11 @@ PHP_CONF_OPT = --mandir=/usr/share/man \
		--with-config-file-path=/etc \
		--localstatedir=/var \
		--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_CFLAGS = $(TARGET_CFLAGS)