From e2715ccb6846f77e63fd4701f0886f2c0011e057 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 10 Sep 2010 08:44:58 +0200 Subject: openscenegraph: use gcc atomic builtins to make cmake happy --- recipes/opencv/openscenegraph_2.9.7.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'recipes/opencv/openscenegraph_2.9.7.bb') diff --git a/recipes/opencv/openscenegraph_2.9.7.bb b/recipes/opencv/openscenegraph_2.9.7.bb index e5c151e00d..4c07b04c90 100644 --- a/recipes/opencv/openscenegraph_2.9.7.bb +++ b/recipes/opencv/openscenegraph_2.9.7.bb @@ -15,6 +15,10 @@ SRC_URI[osg.sha256sum] = "ae0436a854b97a9efb7fe2c8a38630dab5182b1ea23b984ea0ea17 S = "${WORKDIR}/OpenSceneGraph-${PV}" +# choose between +# _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS +# _OPENTHREADS_ATOMIC_USE_MUTEX + # From http://www.openscenegraph.org/projects/osg/wiki/Community/OpenGL-ES EXTRA_OECMAKE = " -DCMAKE_BUILD_TYPE=Release \ -DOSG_GLU_AVAILABLE=OFF \ @@ -32,6 +36,7 @@ EXTRA_OECMAKE = " -DCMAKE_BUILD_TYPE=Release \ -DOSG_GL_FIXED_FUNCTION_AVAILABLE=OFF \ -DOSG_CPP_EXCEPTIONS_AVAILABLE=OFF \ -DPOPPLER_HAS_CAIRO_EXITCODE=0 \ + -D_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS=1 \ " TARGET_CC_ARCH += "-D__STDC_CONSTANT_MACROS" -- cgit 1.2.3-korg