summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-11-17 22:41:49 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-11-17 22:41:49 (GMT)
commit15627cbf8c568323af89cc0de9adbfddecbd8960 (patch)
treee1ca26099c86d6fd5a7a57cbe06a4e60e0383fde /scripts/build
parent13fda12471897fc329b57a612f54c72d97a4f69c (diff)
libc/glibc: configure libc headers with support for 128-bit long double
At the headers install pass, there's no compiler to test for the size of long double. Help it: we know that the compiler does support 128-bit long double, in the IBM extended precision. Kindly pointed out, and explained, by Mike FRYSINGER: http://sourceware.org/ml/crossgcc/2009-11/msg00040.html http://sourceware.org/ml/crossgcc/2009-11/msg00057.html
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/libc/glibc.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh
index c9a6898..a18bff6 100644
--- a/scripts/build/libc/glibc.sh
+++ b/scripts/build/libc/glibc.sh
@@ -148,6 +148,8 @@ do_libc_headers() {
CT_DoLog DEBUG "Extra config passed : '${extra_config[*]}'"
libc_cv_ppc_machine=yes \
+ libc_cv_mlong_double_128=yes \
+ libc_cv_mlong_double_128ibm=yes \
CC=${cross_cc} \
CT_DoExecLog ALL \
"${CT_SRC_DIR}/glibc-${cvs}${CT_LIBC_VERSION}/configure" \