package/mpd: depends on gcc and host gcc >= 7
mpd uses string_view since version 0.22 andfa45a8adfa
string_view is a C++17 feature:e0e5ed62ee
So add a dependency on host gcc >= 7 Moreover, C++17 is also mandatory on the target side since8f981845dc
so also bump the gcc dependency Finally, drop BR2_TOOLCHAIN_HAS_GCC_BUG_64735 which is not needed as it will always be true with gcc >= 7 Fixes: - http://autobuild.buildroot.org/results/e42a1d0cd808585a755754f839fe7d2080547191 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
9eec4724ff
commit
6ed7036464
@ -5,8 +5,8 @@ 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_6 # C++14
|
||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
|
||||
depends on BR2_HOST_GCC_AT_LEAST_7 # C++17
|
||||
select BR2_PACKAGE_BOOST
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
help
|
||||
@ -405,11 +405,10 @@ config BR2_PACKAGE_MPD_ID3TAG
|
||||
|
||||
endif
|
||||
|
||||
comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 6"
|
||||
comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 7, host gcc >= 7"
|
||||
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_6
|
||||
|
||||
comment "mpd needs a toolchain not affected by GCC bug 64735"
|
||||
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
|
||||
!BR2_HOST_GCC_AT_LEAST_7
|
||||
|
Loading…
Reference in New Issue
Block a user