[uClibc-cvs] uClibc/libpthread Makefile,1.16,1.17

Erik Andersen andersen at codepoet.org
Wed Nov 27 23:34:27 UTC 2002


Update of /var/cvs/uClibc/libpthread
In directory winder:/tmp/cvs-serv365/libpthread

Modified Files:
	Makefile 
Log Message:
Make support for global constructors and global destructors be
configurable, so people who do not need or want ctor/dtor support
can disable it and make their binaries a little bit smaller.
 -Erik


Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libpthread/Makefile,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- Makefile	5 Nov 2002 05:56:25 -0000	1.16
+++ Makefile	27 Nov 2002 23:33:54 -0000	1.17
@@ -36,12 +36,14 @@
 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
 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




More information about the uClibc-cvs mailing list