package/libgtk3: needs gcc & host gcc >= 4.8
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 3 Aug 2019 19:15:00 +0000 (21:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 11 Aug 2019 21:02:56 +0000 (23:02 +0200)
Due to the harfbuzz bump to version 2.5.2 we need gcc >= 4.8 and host
gcc >= 4.8.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libgtk3/Config.in

index 12e64707bd665136453332efdc0727d7b281d0d1..72737d6e2f8c8744859738dc30d81ceecb077182 100644 (file)
@@ -1,7 +1,9 @@
-comment "libgtk3 needs a toolchain w/ wchar, threads, C++"
+comment "libgtk3 needs a toolchain w/ wchar, threads, C++, gcc >= 4.8, host gcc >= 4.8"
        depends on BR2_USE_MMU
        depends on BR2_TOOLCHAIN_HAS_SYNC_4
        depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
+               !BR2_HOST_GCC_AT_LEAST_4_8 || \
                !BR2_TOOLCHAIN_HAS_THREADS
 
 comment "libgtk3 needs an OpenGL or an OpenGL-EGL/wayland backend"
@@ -17,6 +19,9 @@ config BR2_PACKAGE_LIBGTK3
        depends on BR2_USE_MMU # glib2
        depends on BR2_INSTALL_LIBSTDCPP # pango
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pango -> harfbuzz
+       # host-libgtk3 -> host-librsvg -> host-pango -> host-harfbuzz
+       depends on BR2_HOST_GCC_AT_LEAST_4_8
        depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \
                BR2_PACKAGE_HAS_LIBGL
        select BR2_PACKAGE_ATK