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>
This commit is contained in:
Martin Jansa
2014-02-24 10:44:09 +01:00
parent 91cddd48c5
commit 840a60cb1d
+4
View File
@@ -22,3 +22,7 @@ do_configure_append() {
FILES_${PN} = "${libdir}/lib*${SOLIBS}" 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"