summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2014-01-18 19:23:38 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2014-01-19 20:13:54 (GMT)
commit76f02e371a3b9d73d62bd6a74a85437b9dec7f9a (patch)
treeee64833e1558d0bd09c324f4cc1037ab2d1b2cf9
parent323cf0bc4d20c50547bdc065840dd798168d4e8d (diff)
downloadbuildroot-76f02e371a3b9d73d62bd6a74a85437b9dec7f9a.tar.gz
buildroot-76f02e371a3b9d73d62bd6a74a85437b9dec7f9a.tar.bz2
eigen: add C++ toolchain dependency
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>
-rw-r--r--package/eigen/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/eigen/Config.in b/package/eigen/Config.in
index c7fcde2..e94f9a3 100644
--- a/package/eigen/Config.in
+++ b/package/eigen/Config.in
@@ -1,5 +1,6 @@
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
@@ -11,3 +12,6 @@ config BR2_PACKAGE_EIGEN
template library defined in the headers.
http://eigen.tuxfamily.org/
+
+comment "eigen needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP