[oe-commits] [meta-openembedded] 58/67: opencv: Fix build on x86 platform
git at git.openembedded.org
git at git.openembedded.org
Fri Apr 1 13:44:57 UTC 2016
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 531e340ca9d1b758b3991f1aaacfb371d0dae08d
Author: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
AuthorDate: Thu Mar 31 16:11:32 2016 +0200
opencv: Fix build on x86 platform
OpenCV wrongly assumes that the X86 variable would be set on Intel 32
bit architectures.
This patch adds the missing definition on those cases.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-support/opencv/opencv_3.1.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-support/opencv/opencv_3.1.bb b/meta-oe/recipes-support/opencv/opencv_3.1.bb
index 63955a8..ecba021 100644
--- a/meta-oe/recipes-support/opencv/opencv_3.1.bb
+++ b/meta-oe/recipes-support/opencv/opencv_3.1.bb
@@ -45,6 +45,7 @@ EXTRA_OECMAKE = "-DPYTHON2_NUMPY_INCLUDE_DIRS:PATH=${STAGING_LIBDIR}/${PYTHON_DI
${@base_conditional("libdir", "/usr/lib64", "-DLIB_SUFFIX=64", "", d)} \
${@base_conditional("libdir", "/usr/lib32", "-DLIB_SUFFIX=32", "", d)} \
"
+EXTRA_OECMAKE_append_x86 += "-DX86=ON"
PACKAGECONFIG ??= "eigen jpeg png tiff v4l libv4l gstreamer samples tbb \
${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk", "", d)} \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list