summaryrefslogtreecommitdiff
path: root/toolchain/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-01 00:36:38 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-01 00:36:38 +0000
commit272e7fda1968e4413e9d72a793743d4b73fd275c (patch)
tree25398ebc5ea2ac69298cb0e1f86c893049caff22 /toolchain/Makefile.in
parent59a63a91ebdb66e098bd24abae76ac8277043d1b (diff)
control pthread support since some arches like x86_64 dont yet support it in uClibc
Diffstat (limited to 'toolchain/Makefile.in')
-rw-r--r--toolchain/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolchain/Makefile.in b/toolchain/Makefile.in
index f47f591f7..ab2eed0d5 100644
--- a/toolchain/Makefile.in
+++ b/toolchain/Makefile.in
@@ -1,3 +1,9 @@
+ifeq ($(BR2_PTHREADS),y)
+THREADS:=--enable-threads
+else
+THREADS:=--disable-threads
+endif
+
ifeq ($(BR2_ENABLE_MULTILIB),y)
MULTILIB:=--enable-multilib
else