buildroot/package/boinc/Config.in
Bernd Kuhls 12ef36004b package/boinc: needs at least gcc 4.8 for c++11 features
Fixes:
http://autobuild.buildroot.net/results/ed3/ed3656f443364f01895600f332816d20e340f315/

hostinfo_unix.cpp:1695:37: error: range-based 'for' loops are not allowed in C++98 mode
         for (const string &ignore : ignore_list) {

Adding -std=c++11 to CXXFLAGS is done in _MAKE_OPTS due to the Makefiles
not passing CXXFLAGS from _CONV_ENV down to client/Makefile.

This is needed since bump to version 7.18.1 in commit
fe79fba3fd and
ed70369c09

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Peter: extend commit message as suggested by Fabrice Fontaine]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-08 09:42:24 +01:00

25 lines
780 B
Plaintext

config BR2_PACKAGE_BOINC
bool "boinc"
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS # dlfcn.h
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_OPENSSL
help
Open-source software for volunteer computing and grid
computing.
Use the idle time on your computer to cure diseases, study
global warming, discover pulsars, and do many other types of
scientific research.
https://boinc.berkeley.edu
comment "boinc needs a toolchain w/ dynamic library, C++, threads, gcc >= 4.8"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
|| !BR2_TOOLCHAIN_HAS_THREADS