From 9fd7cda2807171fdb03e26702226f28ff6a88f46 Mon Sep 17 00:00:00 2001
From: Lars-Peter Clausen <lars@metafoo.de>
Date: Fri, 5 Jun 2009 11:33:12 +0000
Subject: [toolchain] disable tls for stdlibc++. fixes c++ inside a gcc-4.4.0
 toolchain.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16345 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 toolchain/gcc/Makefile | 1 +
 1 file changed, 1 insertion(+)

(limited to 'toolchain')

diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index e9598d8177..f1328a358b 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -124,6 +124,7 @@ GCC_CONFIGURE_STAGE2:= \
 		--enable-languages=$(TARGET_LANGUAGES) \
 		--enable-shared \
 		--enable-threads \
+		--disable-tls \
 		--with-slibdir=$(TOOLCHAIN_DIR)/lib \
 
 GCC_MAKE:= \
-- 
cgit v1.2.3