libc/glibc: configure libc headers with support for 128-bit long double
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Nov 17 23:41:49 2009 +0100 (2009-11-17)
changeset 1641fce0c507c9e5
parent 1640 3d8f6d826f21
child 1642 3a06556e9381
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
scripts/build/libc/glibc.sh
     1.1 --- a/scripts/build/libc/glibc.sh	Tue Nov 17 00:56:17 2009 +0100
     1.2 +++ b/scripts/build/libc/glibc.sh	Tue Nov 17 23:41:49 2009 +0100
     1.3 @@ -148,6 +148,8 @@
     1.4      CT_DoLog DEBUG "Extra config passed : '${extra_config[*]}'"
     1.5  
     1.6      libc_cv_ppc_machine=yes                                     \
     1.7 +    libc_cv_mlong_double_128=yes                                \
     1.8 +    libc_cv_mlong_double_128ibm=yes                             \
     1.9      CC=${cross_cc}                                              \
    1.10      CT_DoExecLog ALL                                            \
    1.11      "${CT_SRC_DIR}/glibc-${cvs}${CT_LIBC_VERSION}/configure"    \