summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-fpu.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc/gcc-fpu.inc')
-rw-r--r--packages/gcc/gcc-fpu.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/gcc/gcc-fpu.inc b/packages/gcc/gcc-fpu.inc
new file mode 100644
index 0000000000..bb03d95567
--- /dev/null
+++ b/packages/gcc/gcc-fpu.inc
@@ -0,0 +1,6 @@
+
+def get_gcc_fpu_setting(bb, d):
+ if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
+ return "--with-float=soft"
+ return ""
+