Update buildroot to 2020.11.2 (#1200)
Signed-off-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
@@ -26,7 +26,7 @@ diff --git a/build/php.m4 b/build/php.m4
|
||||
index 9586c490..8b3d47ed 100644
|
||||
--- a/build/php.m4
|
||||
+++ b/build/php.m4
|
||||
@@ -1967,7 +1967,7 @@ AC_DEFUN([PHP_SETUP_ICONV], [
|
||||
@@ -1973,7 +1973,7 @@ AC_DEFUN([PHP_SETUP_ICONV], [
|
||||
dnl Check external libs for iconv funcs.
|
||||
if test "$found_iconv" = "no"; then
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ config BR2_PACKAGE_PHP
|
||||
!BR2_PACKAGE_PHP_SAPI_FPM && \
|
||||
BR2_USE_MMU
|
||||
select BR2_PACKAGE_PHP_SAPI_CLI if !BR2_USE_MMU
|
||||
select BR2_PACKAGE_PCRE2
|
||||
help
|
||||
PHP is a widely-used general-purpose scripting
|
||||
language that is especially suited for Web development
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://www.php.net/downloads.php
|
||||
sha256 aead303e3abac23106529560547baebbedba0bb2943b91d5aa08fff1f41680f4 php-7.4.13.tar.xz
|
||||
sha256 f9f3c37969fcd9006c1dbb1dd76ab53f28c698a1646fa2dde8547c3f45e02886 php-7.4.14.tar.xz
|
||||
|
||||
# License file
|
||||
sha256 0967ad6cf4b7fe81d38709d7aaef3fecb3bd685be7eebb37b864aa34c991baa7 LICENSE
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHP_VERSION = 7.4.13
|
||||
PHP_VERSION = 7.4.14
|
||||
PHP_SITE = http://www.php.net/distributions
|
||||
PHP_SOURCE = php-$(PHP_VERSION).tar.xz
|
||||
PHP_INSTALL_STAGING = YES
|
||||
PHP_INSTALL_STAGING_OPTS = INSTALL_ROOT=$(STAGING_DIR) install
|
||||
PHP_INSTALL_TARGET_OPTS = INSTALL_ROOT=$(TARGET_DIR) install
|
||||
PHP_DEPENDENCIES = host-pkgconf
|
||||
PHP_DEPENDENCIES = host-pkgconf pcre2
|
||||
PHP_LICENSE = PHP-3.01
|
||||
PHP_LICENSE_FILES = LICENSE
|
||||
PHP_CONF_OPTS = \
|
||||
@@ -18,6 +18,7 @@ PHP_CONF_OPTS = \
|
||||
--infodir=/usr/share/info \
|
||||
--with-config-file-scan-dir=/etc/php.d \
|
||||
--disable-all \
|
||||
--with-external-pcre \
|
||||
--without-pear \
|
||||
--with-config-file-path=/etc \
|
||||
--disable-phpdbg \
|
||||
@@ -258,11 +259,6 @@ define PHP_DISABLE_VALGRIND
|
||||
endef
|
||||
PHP_POST_CONFIGURE_HOOKS += PHP_DISABLE_VALGRIND
|
||||
|
||||
### Use external PCRE if it's available
|
||||
ifeq ($(BR2_PACKAGE_PCRE2),y)
|
||||
PHP_CONF_OPTS += --with-pcre-regex=$(STAGING_DIR)/usr
|
||||
PHP_DEPENDENCIES += pcre2
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PCRE2_JIT),y)
|
||||
PHP_CONF_OPTS += --with-pcre-jit=yes
|
||||
PHP_CONF_ENV += ac_cv_have_pcre2_jit=yes
|
||||
@@ -271,21 +267,6 @@ PHP_CONF_OPTS += --with-pcre-jit=no
|
||||
PHP_CONF_ENV += ac_cv_have_pcre2_jit=no
|
||||
endif
|
||||
|
||||
else
|
||||
# The bundled pcre library is not configurable through ./configure options,
|
||||
# and by default is configured to be thread-safe, so it wants pthreads. So
|
||||
# we must explicitly tell it when we don't have threads.
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
|
||||
PHP_CFLAGS += -DSLJIT_SINGLE_THREADED=1
|
||||
endif
|
||||
# check ext/pcre/pcrelib/sljit/sljitConfigInternal.h for supported archs
|
||||
ifeq ($(BR2_i386)$(BR2_x86_64)$(BR2_arm)$(BR2_armeb)$(BR2_aarch64)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_powerpc)$(BR2_sparc),y)
|
||||
PHP_CONF_OPTS += --with-pcre-jit
|
||||
else
|
||||
PHP_CONF_OPTS += --without-pcre-jit
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_CURL),y)
|
||||
PHP_CONF_OPTS += --with-curl
|
||||
PHP_DEPENDENCIES += libcurl
|
||||
|
||||
Reference in New Issue
Block a user