diff options
Diffstat (limited to 'recipes/opencv/openscenegraph_2.9.7.bb')
-rw-r--r-- | recipes/opencv/openscenegraph_2.9.7.bb | 5 |
1 files changed, 5 insertions, 0 deletions
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" |