From c7c22056ae636965eb3e954d0e529734d14ee346 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 18 Mar 2008 01:04:46 +0200 Subject: [PATCH] glibc: Improved tls related cross-compiling for x86 and x86_64 --- base/glibc/glibc.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/base/glibc/glibc.conf b/base/glibc/glibc.conf index 61dfe9a14..61cdc2fb3 100644 --- a/base/glibc/glibc.conf +++ b/base/glibc/glibc.conf @@ -72,6 +72,12 @@ if [ $SDECFG_PKG_GLIBC_TLS = 1 ]; then sparc64) tls_arch=sparc64 ;; + x86) + tls_arch=386 + ;; + x86-64) + tls_arch=x86_64 + ;; esac var_append configcache ' ' "libc_cv_${tls_arch}_tls=yes" else