summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile
index c98ef8bda..87e20749f 100644
--- a/libpthread/Makefile
+++ b/libpthread/Makefile
@@ -36,6 +36,7 @@ ifeq ($(strip $(DODEBUG)),y)
endif
endif
+ifeq ($(strip $(UCLIBC_CTOR_DTOR)),y)
ifeq ($(strip $(DOPIC)),y)
START_FILES = $(TOPDIR)lib/crti.o $(LIBGCC_DIR)crtbeginS.o
END_FILES = $(LIBGCC_DIR)crtendS.o $(TOPDIR)lib/crtn.o
@@ -43,6 +44,7 @@ else
START_FILES = $(TOPDIR)lib/crti.o $(LIBGCC_DIR)crtbegin.o
END_FILES = $(LIBGCC_DIR)crtend.o $(TOPDIR)lib/crtn.o
endif
+endif
ALL_SUBDIRS = linuxthreads linuxthreads_db