summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-02-19 11:35:38 +0100
committerPeter Korsgaard <peter@korsgaard.com>2017-02-19 22:58:46 +0100
commitdbdf1ae69eb91b2d1d19c93fff530c62849cb778 (patch)
treebc829e664a97831ba10d7b665d6103446cbaf27a
parent874d0784bb23d6cb5fd991f382b4401308a54afc (diff)
downloadbuildroot-dbdf1ae69eb91b2d1d19c93fff530c62849cb778.tar.gz
buildroot-dbdf1ae69eb91b2d1d19c93fff530c62849cb778.zip
package/glmark2: needs gcc >= 4.9 for C++14
Fixes: http://autobuild.buildroot.org/results/511/51162285d197deabb63727c19cdf5512b0e68f29/ [Peter: also add libstdcpp dependency] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Cc: Spenser Gilliland <spenser@gillilanding.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/glmark2/Config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/glmark2/Config.in b/package/glmark2/Config.in
index c8380b1d34..addd7a906e 100644
--- a/package/glmark2/Config.in
+++ b/package/glmark2/Config.in
@@ -10,11 +10,17 @@ config BR2_PACKAGE_GLMARK2_GL
depends on BR2_PACKAGE_HAS_LIBGL
depends on BR2_PACKAGE_MESA3D_DRI_DRIVER
+comment "glmark2 needs a toolchain w/ C++, gcc >= 4.9"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+
comment "glmark2 needs an OpenGL or an openGL ES and EGL backend provided by mesa3d"
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_INSTALL_LIBSTDCPP
depends on !BR2_PACKAGE_GLMARK2_GL && !BR2_PACKAGE_GLMARK2_EGL_GLES
config BR2_PACKAGE_GLMARK2
bool "glmark2"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
depends on BR2_PACKAGE_GLMARK2_GL || BR2_PACKAGE_GLMARK2_EGL_GLES
select BR2_PACKAGE_JPEG
select BR2_PACKAGE_LIBPNG
OpenPOWER on IntegriCloud