aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@gmail.com>2016-02-27 14:13:38 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-27 16:23:41 +0100
commit5d70e1e9deeeac6bbfd9e1fede2e95265a6a0aa9 (patch)
treeb169e62c2109fdb3d06ca305f94b47a5fc69e7fa
parent698f1e971c6c9a72ebdfcd43d19ec647d2c5767e (diff)
downloadbuildroot-5d70e1e9deeeac6bbfd9e1fede2e95265a6a0aa9.tar.gz
buildroot-5d70e1e9deeeac6bbfd9e1fede2e95265a6a0aa9.tar.bz2
package/qhull: add dependency on gcc >= 4.4
A variadic template template parameters [1] is used in QhullSet.h, this require a toolchain with (at least) gcc 4.4 [2][3]. Fixes (bfin toolchain with gcc 4.3): http://autobuild.buildroot.net/results/32f/32f324c7920ac46d393954de13b8a98a77a0c392 [1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2555.pdf [2] https://gcc.gnu.org/gcc-4.3/cxx0x_status.html [3] https://gcc.gnu.org/gcc-4.4/cxx0x_status.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/qhull/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/qhull/Config.in b/package/qhull/Config.in
index 2bc8ff6412..0a4b60ffbe 100644
--- a/package/qhull/Config.in
+++ b/package/qhull/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_QHULL
bool "qhull"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 # needs gcc >= 4.4
help
Qhull computes the convex hull, Delaunay triangulation,
Voronoi diagram, halfspace intersection about a point,
@@ -14,5 +15,5 @@ config BR2_PACKAGE_QHULL
http://www.qhull.org
-comment "qhull needs a toolchain w/ C++, dynamic library"
- depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
+comment "qhull needs a toolchain w/ C++, dynamic library, gcc >= 4.4"
+ depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_4