diff options
author | Koen Kooi <koen@openembedded.org> | 2010-01-10 12:21:33 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-01-10 12:25:21 +0100 |
commit | 31113502d63b822a853eef33e2629c78fba76cb2 (patch) | |
tree | 00b7e36f29df19ba9d8857a7c2426bd65f70840c /recipes/navit/navit-fpu.inc | |
parent | 8274bc3cdd5c071057d36f85980174215e127d2e (diff) |
navit: fix build with qt4 in staging, only enable floats when you have an fpu
Diffstat (limited to 'recipes/navit/navit-fpu.inc')
-rw-r--r-- | recipes/navit/navit-fpu.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/navit/navit-fpu.inc b/recipes/navit/navit-fpu.inc new file mode 100644 index 0000000000..d333b92001 --- /dev/null +++ b/recipes/navit/navit-fpu.inc @@ -0,0 +1,6 @@ + +def get_navit_fpu_setting(bb, d): + if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: + return "--enable-avoid-float" + return "" + |