Skip to contentSkip to conversation

package/glmark2: needs gcc >= 4.9 for C++14

PATCH New Yann E. MORIN 2 participants 2 messages Feb 19, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/glmark2: needs gcc >= 4.9 for C++14

Fixes:

    http://autobuild.buildroot.org/results/511/51162285d197deabb63727c19cdf5512b0e68f29/
Cc Bernd Kuhls <[email protected]>
Cc Spenser Gilliland <[email protected]>
---
 package/glmark2/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/glmark2/Config.in +5 -0
index c8380b1..9f0f9fb 100644
@@ -10,11 +10,16 @@ config BR2_PACKAGE_GLMARK2_GL
 	depends on BR2_PACKAGE_HAS_LIBGL
 	depends on BR2_PACKAGE_MESA3D_DRI_DRIVER
 
+comment "glmark2 needs a toolchain w/ gcc >= 4.9"
+	depends on !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
 	depends on !BR2_PACKAGE_GLMARK2_GL && !BR2_PACKAGE_GLMARK2_EGL_GLES
 
 config BR2_PACKAGE_GLMARK2
 	bool "glmark2"
+	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
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 package/glmark2: needs gcc >= 4.9 for C++14

Quoted 20 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Fixes:

    http://autobuild.buildroot.org/results/511/51162285d197deabb63727c19cdf5512b0e68f29/
Cc Bernd Kuhls <[email protected]>
Cc Spenser Gilliland <[email protected]>
---
 package/glmark2/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/glmark2/Config.in +0 -0
index c8380b1..9f0f9fb 100644
@@ -10,11 +10,16 @@ config BR2_PACKAGE_GLMARK2_GL
 	depends on BR2_PACKAGE_HAS_LIBGL
 	depends on BR2_PACKAGE_MESA3D_DRI_DRIVER
 

package/glmark2/Config.in config BR2_PACKAGE_GLMARK2_GL · line 22

Quoted 10 lines
package/glmark2/Config.in +5 -0
+comment "glmark2 needs a toolchain w/ gcc >= 4.9"
+	depends on !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
 	depends on !BR2_PACKAGE_GLMARK2_GL && !BR2_PACKAGE_GLMARK2_EGL_GLES
 
 config BR2_PACKAGE_GLMARK2
 	bool "glmark2"
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14

Strangely enough glmark doesn't even explicitly depend on BR2_INSTALL_LIBSTDCPP (it does indirectly because of mesa), so committed after adding that.

Signature · 1 line
Bye, Peter Korsgaard