aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/speex/speex-fpu.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/speex/speex-fpu.inc')
-rw-r--r--recipes/speex/speex-fpu.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/speex/speex-fpu.inc b/recipes/speex/speex-fpu.inc
new file mode 100644
index 0000000000..4c639200b3
--- /dev/null
+++ b/recipes/speex/speex-fpu.inc
@@ -0,0 +1,5 @@
+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 ""
+