diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-11-17 23:41:49 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-11-17 23:41:49 +0100 |
commit | 15627cbf8c568323af89cc0de9adbfddecbd8960 (patch) | |
tree | e1ca26099c86d6fd5a7a57cbe06a4e60e0383fde /scripts/build/libc/glibc.sh | |
parent | 13fda12471897fc329b57a612f54c72d97a4f69c (diff) | |
download | crosstool-ng-15627cbf8c568323af89cc0de9adbfddecbd8960.tar.gz crosstool-ng-15627cbf8c568323af89cc0de9adbfddecbd8960.tar.bz2 crosstool-ng-15627cbf8c568323af89cc0de9adbfddecbd8960.zip |
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/libc/glibc.sh')
-rw-r--r-- | scripts/build/libc/glibc.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index c9a68986..a18bff6d 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" \ |