[oe-commits] Koen Kooi : openscenegraph: use gcc atomic builtins to make cmake happy
git version control
git at git.openembedded.org
Fri Sep 10 06:45:38 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: e2715ccb6846f77e63fd4701f0886f2c0011e057
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e2715ccb6846f77e63fd4701f0886f2c0011e057
Author: Koen Kooi <koen at openembedded.org>
Date: Fri Sep 10 08:44:58 2010 +0200
openscenegraph: use gcc atomic builtins to make cmake happy
---
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 e5c151e..4c07b04 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"
More information about the Openembedded-commits
mailing list