diff options
Diffstat (limited to 'gcc/gcc_3.3.3.oe')
-rw-r--r-- | gcc/gcc_3.3.3.oe | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/gcc_3.3.3.oe b/gcc/gcc_3.3.3.oe index c7e55e1fad..0b99411ab4 100644 --- a/gcc/gcc_3.3.3.oe +++ b/gcc/gcc_3.3.3.oe @@ -160,6 +160,12 @@ EXTRA_OECONF_PATHS = "--with-local-prefix=${prefix}/local \ EXTRA_OECONF_DEP = "" EXTRA_OECONF_uclibc = "--disable-__cxa_atexit" EXTRA_OECONF_glibc = "--enable-__cxa_atexit" +EXTRA_OECONF += "${@get_fpu_setting(oe, d)}" + +def get_fpu_setting(oe, d): + if oe.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: + return "--with-float=soft" + return "" python __anonymous () { import oe, re |