summaryrefslogtreecommitdiffstats
path: root/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2012-05-15 11:15:50 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-16 10:39:32 +0200
commitcb30e130519fcb50e1a2e0d7a02aa628e52ed24c (patch)
treeeb40552335524af7341f2fb9ae112bde745b81fb /toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
parent9950d485cd8c16dc84d2e9eca5f4f586c1b717c5 (diff)
downloadbuildroot-novena-cb30e130519fcb50e1a2e0d7a02aa628e52ed24c.tar.gz
buildroot-novena-cb30e130519fcb50e1a2e0d7a02aa628e52ed24c.zip
toolchain/crosstool-NG: disable decimal floats
Decimal floats were introduced circa gcc-4.2 or -4.3, and requires the floating-point environement fenv.h in the C library. The uClibc .config file used by crosstool-NG to build uClibc is the same as used by the internal buildroot mechanism, and explcitly disables fenv support. The quick workaround is to simply disable decimal floats in all crosstool-NG config files. In the long run, it might be better to check this situation, and/or add code and/or options in crosstool-NG to handle this (but it is much more involved, and this workaround is sane). Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc')
-rw-r--r--toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
index e57a91dfc..db724ab40 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
@@ -294,8 +294,8 @@ CT_CC_LANG_CXX=y
# gcc other options
#
CT_CC_ENABLE_CXX_FLAGS=""
-CT_CC_CORE_EXTRA_CONFIG_ARRAY=""
-CT_CC_EXTRA_CONFIG_ARRAY=""
+CT_CC_CORE_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
+CT_CC_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
CT_CC_STATIC_LIBSTDCXX=y
#