Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/2] ode: Explicitly disable double-precision with PACKAGECONFIG
@ 2014-02-26 23:15 Martin Jansa
  2014-02-26 23:15 ` [meta-oe][PATCH 2/2] ode: upgrade to 0.13 Martin Jansa
  2014-02-27  9:58 ` [meta-oe][PATCH 1/2] ode: Explicitly disable double-precision with PACKAGECONFIG Martin Jansa
  0 siblings, 2 replies; 7+ messages in thread
From: Martin Jansa @ 2014-02-26 23:15 UTC (permalink / raw)
  To: openembedded-devel

* when it's left for autodetection, configure fails for qemux86* when
   ==  and configure calls AC_TRY_RUN

Signed-off-by: Martin Jansa <Martin.Jansa@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"
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-02-27 16:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-26 23:15 [meta-oe][PATCH 1/2] ode: Explicitly disable double-precision with PACKAGECONFIG Martin Jansa
2014-02-26 23:15 ` [meta-oe][PATCH 2/2] ode: upgrade to 0.13 Martin Jansa
2014-02-27  0:07   ` Khem Raj
2014-02-27  9:48     ` Martin Jansa
2014-02-27 16:27       ` Khem Raj
2014-02-27  9:53     ` Martin Jansa
2014-02-27  9:58 ` [meta-oe][PATCH 1/2] ode: Explicitly disable double-precision with PACKAGECONFIG Martin Jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox