package/icu: now needs gcc >= 7 due to C++17 usage

Buildroot commit dcee99507c bumped icu
from version 73-2 to 77-1.

Upstream raised the minimum C++ requirement to C++17 in version 75-1:

https://github.com/unicode-org/icu/releases/tag/release-75-1
https://icu.unicode.org/download/75
"C++ code now requires C++17 [...]"

Consequently, this commit switches the minimum gcc version needed by
package/icu to 7, and propagates this to icu's reverse dependencies.

No autobuilder errors were recorded since we don't test toolchains as
old as gcc 6.x

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 4b4d7621a1)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Bernd Kuhls
2026-01-03 16:49:04 +01:00
committed by Thomas Perale
parent 9f7467c84c
commit 86bf49e0f6
13 changed files with 60 additions and 56 deletions

View File

@@ -24,17 +24,17 @@ if BR2_PACKAGE_CPPCMS
config BR2_PACKAGE_CPPCMS_ICU
bool "enable icu support"
depends on !BR2_BINFMT_FLAT # icu
depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu
depends on BR2_HOST_GCC_AT_LEAST_7 # icu
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # icu
select BR2_PACKAGE_ICU
help
Using ICU allows advanced localization features into CppCMS,
in another hand ICU is heavier than iconv.
comment "icu support needs a toolchain w/ gcc >= 4.9, host gcc >= 4.9"
comment "icu support needs a toolchain w/ gcc >= 7, host gcc >= 7"
depends on !BR2_BINFMT_FLAT
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
!BR2_HOST_GCC_AT_LEAST_4_9
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
!BR2_HOST_GCC_AT_LEAST_7
endif