From 29962e14a1144ec4f9cfac8ab8a51af2b5692317 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 29 Jan 2012 15:21:38 +0100 Subject: nptl_db: handle SUSv4-OB pthread_getconcurrency / pthread_setconcurrency is OBSOLETE in SUSv4 so disable pthread debug support too Signed-off-by: Bernhard Reutner-Fischer --- libpthread/nptl_db/Makefile.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libpthread/nptl_db/Makefile.in') diff --git a/libpthread/nptl_db/Makefile.in b/libpthread/nptl_db/Makefile.in index a3fc1cd74..b1585299a 100644 --- a/libpthread/nptl_db/Makefile.in +++ b/libpthread/nptl_db/Makefile.in @@ -22,6 +22,9 @@ libthread_db_OUT := $(top_builddir)libpthread/nptl_db libthread_db_SRC := $(wildcard $(libthread_db_DIR)/td_*.c) \ $(libthread_db_DIR)/fetch-value.c +ifeq ($(UCLIBC_SUSV4_LEGACY),) +libthread_db_SRC := $(filter-out td_ta_setconcurrency.c,$(libthread_db_SRC)) +endif libthread_db_OBJ := $(patsubst $(libthread_db_DIR)/%.c,$(libthread_db_OUT)/%.o,$(libthread_db_SRC)) -- cgit v1.2.3