From c30de4d73e22c705637e89987ff374b4b961d6c8 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 18 Mar 2008 08:32:52 +0200 Subject: [PATCH] glibc: Added config cache tweaks for powerpc improving cross-compiling --- base/glibc/glibc.conf | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/base/glibc/glibc.conf b/base/glibc/glibc.conf index a5111413c..b2b6c73fe 100644 --- a/base/glibc/glibc.conf +++ b/base/glibc/glibc.conf @@ -69,14 +69,23 @@ if [ $SDECFG_PKG_GLIBC_TLS = 1 ]; then # tls config.cache tweaks for toolchain stage if atstage toolchain ; then case "$arch" in - powerpc64) - tls_arch=powerpc64 + powerpc) + tls_arch=powerpc32 var_append configcache ' ' \ "libc_cv_ppc_machine=yes" + var_append configcache ' ' \ + "libc_cv_mlong_double_128=yes" var_append configcache ' ' \ "libc_cv_mlong_double_128ibm=yes" + ;; + powerpc64) + tls_arch=powerpc64 + var_append configcache ' ' \ + "libc_cv_ppc_machine=yes" var_append configcache ' ' \ "libc_cv_mlong_double_128=yes" + var_append configcache ' ' \ + "libc_cv_mlong_double_128ibm=yes" ;; sparc64) tls_arch=sparc64