aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/ode/ode_0.9.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-02-24 10:44:09 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2014-03-05 18:38:39 +0100
commit840a60cb1d41199c57d87e820abd88b40c7c8ae4 (patch)
treeaf5406d6db9f86ef66707e60abc4ec23032a6b23 /meta-oe/recipes-support/ode/ode_0.9.bb
parent91cddd48c5275a4195530668713cd28cc5408594 (diff)
downloadmeta-openembedded-contrib-840a60cb1d41199c57d87e820abd88b40c7c8ae4.tar.gz
ode: Explicitly disable double-precision with PACKAGECONFIG
* when it's left for autodetection, configure fails for qemux86* when "$build_os" == "$target_os" and configure calls AC_TRY_RUN Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/ode/ode_0.9.bb')
-rw-r--r--meta-oe/recipes-support/ode/ode_0.9.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/ode/ode_0.9.bb b/meta-oe/recipes-support/ode/ode_0.9.bb
index 1f3a5cab85..8b9955e397 100644
--- a/meta-oe/recipes-support/ode/ode_0.9.bb
+++ b/meta-oe/recipes-support/ode/ode_0.9.bb
@@ -22,3 +22,7 @@ do_configure_append() {
FILES_${PN} = "${libdir}/lib*${SOLIBS}"
+PACKAGECONFIG ?= ""
+# if it isn't explicitly selected and "$build_os" == "$target_os", then configure will run
+# series of AC_TRY_RUN which won't work for cross-compilation and configure fails
+PACKAGECONFIG[double-precision] = "--enable-double-precision,--disable-double-precision"