summaryrefslogtreecommitdiff
path: root/meta/recipes-multimedia/speex/speex-fpu.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/speex/speex-fpu.inc')
-rw-r--r--meta/recipes-multimedia/speex/speex-fpu.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/speex/speex-fpu.inc b/meta/recipes-multimedia/speex/speex-fpu.inc
new file mode 100644
index 0000000000..2571d32484
--- /dev/null
+++ b/meta/recipes-multimedia/speex/speex-fpu.inc
@@ -0,0 +1,4 @@
+def get_speex_fpu_setting(bb, d):
+ if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
+ return "--enable-fixed-point --disable-float-api --disable-vbr"
+ return ""