summaryrefslogtreecommitdiff
path: root/libpthread/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-19 10:05:03 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-19 10:05:03 +0000
commit3358b761b15daa480ca0ca788b3fe077ac967674 (patch)
treed1cea37dd0fbc86a85259b025e62f3e672d68368 /libpthread/Makefile
parentc8b3ccaedb7e08a2d25ce4485ff7e13ddc6e92a5 (diff)
Based on work by Stefan Allius, arrange for early initialization of
pthread stuff. Also, don't bother building libthread_db unless we are debugging. -Erik
Diffstat (limited to 'libpthread/Makefile')
-rw-r--r--libpthread/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile
index 1bf8e8c66..bdd097d38 100644
--- a/libpthread/Makefile
+++ b/libpthread/Makefile
@@ -30,7 +30,10 @@ LIBTHREAD_DB_SHARED_FULLNAME=libthread_db-$(MAJOR_VERSION).$(MINOR_VERSION).$(SU
DIRS=
ifeq ($(strip $(INCLUDE_THREADS)),true)
- DIRS+=linuxthreads linuxthreads_db
+ DIRS+=linuxthreads
+endif
+ifeq ($(strip $(DODEBUG)),true)
+ DIRS+=linuxthreads_db
endif
ALL_SUBDIRS = linuxthreads linuxthreads_db