From 3358b761b15daa480ca0ca788b3fe077ac967674 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 19 Aug 2002 10:05:03 +0000 Subject: 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 --- libpthread/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libpthread/Makefile') 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 -- cgit v1.2.3