package/librsvg: needs gcc >= 4.8
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 3 Aug 2019 19:14:56 +0000 (21:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 11 Aug 2019 20:50:51 +0000 (22:50 +0200)
Due to the harfbuzz bump to version 2.5.2 we need gcc >= 4.8.

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

index ffb0287dbdd8243acad1342b8e66f88bc7fadfb1..735bf6125953bcbe5185e92af427a271a49e604b 100644 (file)
@@ -5,6 +5,7 @@ config BR2_PACKAGE_LIBRSVG
        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
        select BR2_PACKAGE_CAIRO
        select BR2_PACKAGE_CAIRO_PNG
        select BR2_PACKAGE_GDK_PIXBUF
@@ -18,7 +19,9 @@ config BR2_PACKAGE_LIBRSVG
 
          https://wiki.gnome.org/Projects/LibRsvg
 
-comment "librsvg needs a toolchain w/ wchar, threads, C++"
+comment "librsvg needs a toolchain w/ wchar, threads, C++, gcc >= 4.8"
        depends on BR2_USE_MMU
        depends on BR2_TOOLCHAIN_HAS_SYNC_4
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
+               !BR2_INSTALL_LIBSTDCPP