package/spice: add missing gcc >= 6 dependency

spice uses std::list allocator, which requires gcc >= 6. There are no
known autobuilder failures as we don't test toolchains as old as gcc
5.

Signed-off-by: Julien Olivain <ju.o@free.fr>
[Thomas: extracted from
https://patchwork.ozlabs.org/project/buildroot/patch/20241122213809.176709-1-ju.o@free.fr/]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Julien Olivain
2026-01-02 22:14:32 +01:00
committed by Thomas Petazzoni
parent ec45430d19
commit e09811f971

View File

@@ -1,8 +1,8 @@
comment "spice server needs a toolchain w/ wchar, threads, C++"
comment "spice server needs a toolchain w/ wchar, threads, C++, gcc >= 6"
depends on BR2_i386 || BR2_x86_64
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_INSTALL_LIBSTDCPP
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_6
config BR2_PACKAGE_SPICE
bool "spice server"
@@ -11,6 +11,9 @@ config BR2_PACKAGE_SPICE
depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_INSTALL_LIBSTDCPP
# Needs gcc >= 6 with c++11 std::list allocator
# https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=cc7f3d0eeef05fb8fc11384a9a29afae10a54cc7
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6
select BR2_PACKAGE_JPEG
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_OPENSSL