summaryrefslogtreecommitdiff
path: root/packages/cairo/cairo-fpu.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-12-07 09:17:32 +0000
committerKoen Kooi <koen@openembedded.org>2006-12-07 09:17:32 +0000
commit707a04f0ab66d7d75cba6ea51c82aad705216cac (patch)
tree19607c51ad69fe94926894aedb2992d0c34b861d /packages/cairo/cairo-fpu.inc
parent1914ff09f0381c251d00cbb9e7ad1090bd5e7848 (diff)
cairo: update to the 1.3.6 snapshot and steal some magic from gcc to set option for FPU-less systems
Diffstat (limited to 'packages/cairo/cairo-fpu.inc')
-rw-r--r--packages/cairo/cairo-fpu.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/cairo/cairo-fpu.inc b/packages/cairo/cairo-fpu.inc
new file mode 100644
index 0000000000..bdaf789799
--- /dev/null
+++ b/packages/cairo/cairo-fpu.inc
@@ -0,0 +1,6 @@
+
+def get_cairo_fpu_setting(bb, d):
+ if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
+ return "--disable-some-floating-point"
+ return ""
+