package/libgee: needs gcc >= 4.9

Fix the following build failure raised since bump to version 0.20.5
in commit 10780e8d6d and
f0ccfe94ff:

task.c:59:1: error: initializer element is not constant
 static GOnce gee_task_data_async_pool = (GOnce) G_ONCE_INIT;
 ^

Fixes:
 - http://autobuild.buildroot.org/results/8354ea4192bcf2eb9c3be74d93b640db52ced10a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2022-03-17 20:00:27 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 87674334dd
commit de59a62af6
2 changed files with 8 additions and 4 deletions

View File

@ -3,6 +3,7 @@ config BR2_PACKAGE_GRANITE
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgee
depends on BR2_PACKAGE_LIBGTK3
select BR2_PACKAGE_LIBGEE
select BR2_PACKAGE_LIBGLIB2
@ -12,7 +13,8 @@ config BR2_PACKAGE_GRANITE
https://github.com/elementary/granite
comment "granite needs libgtk3 and a toolchain w/ wchar, threads"
comment "granite needs libgtk3 and a toolchain w/ wchar, threads, gcc >= 4.9"
depends on BR2_USE_MMU
depends on !BR2_PACKAGE_LIBGTK3 || !BR2_USE_WCHAR \
|| !BR2_TOOLCHAIN_HAS_THREADS
|| !BR2_TOOLCHAIN_HAS_THREADS \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9

View File

@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBGEE
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
select BR2_PACKAGE_LIBGLIB2
help
Libgee is an utility library providing GObject-based
@ -10,6 +11,7 @@ config BR2_PACKAGE_LIBGEE
https://wiki.gnome.org/Projects/Libgee
comment "libgee needs a toolchain w/ wchar, threads"
comment "libgee needs a toolchain w/ wchar, threads, gcc >= 4.9"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9