mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
Upgrade buildroot to 2023.05 (from 2021.08.2), kernel is upgraded to 6.3 (from 5.13.19).
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHP_VERSION = 8.0.12
|
||||
PHP_VERSION = 8.2.6
|
||||
PHP_SITE = https://www.php.net/distributions
|
||||
PHP_SOURCE = php-$(PHP_VERSION).tar.xz
|
||||
PHP_INSTALL_STAGING = YES
|
||||
@@ -35,6 +35,10 @@ ifeq ($(BR2_STATIC_LIBS)$(BR2_TOOLCHAIN_HAS_THREADS),yy)
|
||||
PHP_STATIC_LIBS += -lpthread
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
PHP_EXTRA_LIBS += -latomic
|
||||
endif
|
||||
|
||||
ifeq ($(call qstrip,$(BR2_TARGET_LOCALTIME)),)
|
||||
PHP_LOCALTIME = UTC
|
||||
else
|
||||
@@ -150,11 +154,6 @@ PHP_CONF_OPTS += --with-libxml
|
||||
PHP_DEPENDENCIES += libxml2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_WDDX),y)
|
||||
PHP_CONF_OPTS += --enable-wddx --with-libexpat-dir=$(STAGING_DIR)/usr
|
||||
PHP_DEPENDENCIES += expat
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_ZIP),y)
|
||||
PHP_DEPENDENCIES += libzip
|
||||
endif
|
||||
@@ -181,13 +180,8 @@ endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_INTL),y)
|
||||
PHP_CONF_OPTS += --enable-intl --with-icu-dir=$(STAGING_DIR)/usr
|
||||
PHP_CXXFLAGS += "`$(STAGING_DIR)/usr/bin/icu-config --cxxflags`"
|
||||
PHP_CONF_OPTS += --enable-intl
|
||||
PHP_DEPENDENCIES += icu
|
||||
# The intl module is implemented in C++, but PHP fails to use
|
||||
# g++ as the compiler for the final link. As a workaround,
|
||||
# tell it to link libstdc++.
|
||||
PHP_EXTRA_LIBS += -lstdc++
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_GMP),y)
|
||||
|
||||
Reference in New Issue
Block a user