summaryrefslogtreecommitdiff
path: root/libpthread/Makefile
diff options
context:
space:
mode:
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