summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/graphene/files/graphene.cross2
-rw-r--r--meta/recipes-graphics/graphene/graphene_1.10.8.bb5
2 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-graphics/graphene/files/graphene.cross b/meta/recipes-graphics/graphene/files/graphene.cross
new file mode 100644
index 00000000000..20ff14bc7e8
--- /dev/null
+++ b/meta/recipes-graphics/graphene/files/graphene.cross
@@ -0,0 +1,2 @@
+[properties]
+ieee754_float_div = true
diff --git a/meta/recipes-graphics/graphene/graphene_1.10.8.bb b/meta/recipes-graphics/graphene/graphene_1.10.8.bb
index e2e82b32aa8..689dfb3c383 100644
--- a/meta/recipes-graphics/graphene/graphene_1.10.8.bb
+++ b/meta/recipes-graphics/graphene/graphene_1.10.8.bb
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a7d871d9e23c450c421a85bb2819f648"
inherit gnomebase gobject-introspection gtk-doc
-SRC_URI += "file://float-div.patch"
+SRC_URI += "file://float-div.patch \
+ file://graphene.cross"
SRC_URI[archive.sha256sum] = "a37bb0e78a419dcbeaa9c7027bcff52f5ec2367c25ec859da31dfde2928f279a"
@@ -22,7 +23,7 @@ GIR_MESON_DISABLE_FLAG = 'disabled'
GTKDOC_MESON_OPTION = "gtk_doc"
-EXTRA_OEMESON = "-Dinstalled_tests=false"
+EXTRA_OEMESON = "-Dinstalled_tests=false --cross-file ${WORKDIR}/graphene.cross"
FILES:${PN} += "${libdir}/graphene-1.0"