Files
Bernd Kuhls 4b4d7621a1 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>
2026-01-03 22:50:29 +01:00

36 lines
1.1 KiB
Plaintext

config BR2_PACKAGE_ICU
bool "icu"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
depends on BR2_HOST_GCC_AT_LEAST_7 # host-icu
depends on BR2_TOOLCHAIN_HAS_THREADS
# icu does some funky things by generating by itself an ELF
# file, and it cannot easily be changed to generate FLAT
# format.
depends on !BR2_BINFMT_FLAT
help
International Components for Unicode.
https://icu.unicode.org/
if BR2_PACKAGE_ICU
config BR2_PACKAGE_ICU_CUSTOM_DATA_PATH
string "Path to custom data library file"
help
This option allows to define the path to a custom data
library generated with http://apps.icu-project.org/datacustom/
Make sure you select the appropriate version to match the one
provided by buildroot.
Leave empty to not use this functionality.
endif
comment "icu needs a toolchain w/ C++, wchar, threads, gcc >= 7, host gcc >= 7"
depends on !BR2_BINFMT_FLAT
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
!BR2_HOST_GCC_AT_LEAST_7