As said in its help text, eigen heavily uses C++ features.
So, explicit this dependency in the Config.in.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
config BR2_PACKAGE_EIGEN
bool "eigen"
+ depends on BR2_INSTALL_LIBSTDCPP
help
Eigen is a C++ template library for linear algebra: vectors,
matrices, and related algorithms. It is versatile, fast, elegant
template library defined in the headers.
http://eigen.tuxfamily.org/
+
+comment "eigen needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP