From 823d1e70045bd38e4642ac2a519fdac005586a3f Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 8 Sep 2010 11:59:08 +0200 Subject: [PATCH] uclibc: improved to only disable gcc's TLS support if uClibc is build without thread support --- base/uclibc/pkg_conf/gcc.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/base/uclibc/pkg_conf/gcc.conf b/base/uclibc/pkg_conf/gcc.conf index da7b66842..81e5941a7 100644 --- a/base/uclibc/pkg_conf/gcc.conf +++ b/base/uclibc/pkg_conf/gcc.conf @@ -13,4 +13,7 @@ # --- SDE-COPYRIGHT-NOTE-END --- var_append extraconfopt ' ' '--disable-decimal-float' -var_append extraconfopt ' ' '--disable-tls' + +if [ "$SDECFG_PKG_UCLIBC_THREADSUPPORT" == "none" ]; then + var_append extraconfopt ' ' '--disable-tls' +fi