[oe-commits] Martin Jansa : ode: Explicitly disable double-precision with PACKAGECONFIG

git at git.openembedded.org git at git.openembedded.org
Wed Mar 5 17:31:54 UTC 2014


Module: meta-openembedded.git
Branch: master
Commit: 840a60cb1d41199c57d87e820abd88b40c7c8ae4
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=840a60cb1d41199c57d87e820abd88b40c7c8ae4

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Mon Feb 24 10:44:09 2014 +0100

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 at gmail.com>

---

 meta-oe/recipes-support/ode/ode_0.9.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-support/ode/ode_0.9.bb b/meta-oe/recipes-support/ode/ode_0.9.bb
index 1f3a5ca..8b9955e 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"



More information about the Openembedded-commits mailing list