From 3630b457a5812a89e8c206e5d5ed567e903627e5 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Thu, 10 Apr 2008 14:05:38 +0000
Subject: [PATCH] Disable tls support, uClibc does not support it, and it could
 lead to linking failures with some braindead autoconf programs

SVN-Revision: 10782
---
 toolchain/gcc/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index a1d1baa400..57118bb119 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -60,6 +60,7 @@ define Stage1/Configure
 		--disable-nls \
 		--disable-libmudflap \
 		--disable-multilib \
+		--disable-tls \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \
 	);
@@ -93,6 +94,7 @@ define Stage2/Configure
 		--disable-nls \
 		--disable-libmudflap \
 		--disable-multilib \
+		--disable-tls \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(call qstrip,$(CONFIG_EXTRA_GCC_CONFIG_OPTIONS)) \
 	);
-- 
GitLab