summaryrefslogtreecommitdiff
path: root/glibc/glibc_2.3.2.oe
diff options
context:
space:
mode:
Diffstat (limited to 'glibc/glibc_2.3.2.oe')
-rw-r--r--glibc/glibc_2.3.2.oe8
1 files changed, 7 insertions, 1 deletions
diff --git a/glibc/glibc_2.3.2.oe b/glibc/glibc_2.3.2.oe
index ca40a7b480..c743e64d5f 100644
--- a/glibc/glibc_2.3.2.oe
+++ b/glibc/glibc_2.3.2.oe
@@ -110,7 +110,13 @@ EXTRA_OECONF = "--without-tls --without-__thread --enable-kernel=${OLDEST_KERNEL
--without-cvs --disable-profile --disable-debug --without-gd \
--enable-clocale=gnu \
--enable-add-ons=linuxthreads --with-headers=${WORKDIR}/linux/include"
-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 () {
mv "${WORKDIR}/linuxthreads" "${WORKDIR}/linuxthreads_db" "${S}/"