package/mpd: needs gcc >= 6
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 29 Jul 2019 12:33:15 +0000 (14:33 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 1 Aug 2019 08:57:26 +0000 (10:57 +0200)
mpd needs gcc >= 6 since version 0.21 and
https://github.com/MusicPlayerDaemon/MPD/commit/a72d1200fba613d542aa806cbd6c536c0e5061db

Fixes:
 - http://autobuild.buildroot.org/results/dc4/dc49aaae29c61a8edd82e5fbd93db962e1126465

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mpd/Config.in

index 9d19248c82a89521e3d196f3dcbd99995fa546e5..84698b170236b3ef6542fc80bbce50b2dff9155c 100644 (file)
@@ -5,7 +5,7 @@ menuconfig BR2_PACKAGE_MPD
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # fork
        depends on BR2_TOOLCHAIN_HAS_ATOMIC
-       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6 # C++14
        depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
        select BR2_PACKAGE_BOOST
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
@@ -355,11 +355,11 @@ config BR2_PACKAGE_MPD_UPNP
 
 endif
 
-comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 4.9"
+comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 6"
        depends on BR2_USE_MMU
        depends on BR2_TOOLCHAIN_HAS_ATOMIC
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-               !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+               !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_6
 
 comment "mpd needs a toolchain not affected by GCC bug 64735"
        depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735