depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
+ depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
help
log4cplus is a simple to use C++ logging API providing
thread-safe, flexible, and arbitrarily granular control
http://sourceforge.net/projects/log4cplus
-comment "log4cplus needs a toolchain w/ C++, wchar, threads"
- depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
+comment "log4cplus needs a toolchain w/ C++, wchar, threads, gcc >= 4.7"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
+
+comment "log4cplus needs a toolchain not affected by GCC bug 64735"
+ depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735