diff options
Diffstat (limited to 'glibc/glibc_cvs.oe')
-rw-r--r-- | glibc/glibc_cvs.oe | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/glibc/glibc_cvs.oe b/glibc/glibc_cvs.oe index 7c208a36df..627dc3061f 100644 --- a/glibc/glibc_cvs.oe +++ b/glibc/glibc_cvs.oe @@ -80,7 +80,13 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ --without-cvs --disable-profile --disable-debug --without-gd \ --enable-clocale=gnu \ --enable-add-ons=${GLIBC_ADDONS} --with-headers=${HEADERS_DIR}/include ${GLIBC_EXTRA_OECONF}" -EXTRA_OECONF_append_ramses = " --without-fp" + +EXTRA_OECONF += "${@get_fpu_setting(oe, d)}" + +def get_fpu_setting(oe, d): + if oe.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: + return "--without-fp" + return "" glibcbuild_do_unpack () { # kernel headers |