This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
This patch makes sure that libpthread.so depends on the right crti.o file, which makes before-compile for crti.o unnecessary. 2001-07-16 Andreas Schwab <schwab@suse.de> * Makefile (before-compile): Don't add $(objpfx)crti.o. (omit-deps): Add crti. ($(objpfx)libpthread.so): Depend on $(objpfx)crti.o, but make sure it is filtered out of the link command. Index: Makefile =================================================================== RCS file: /cvs/glibc/libc/linuxthreads/Makefile,v retrieving revision 1.44 diff -u -a -u -r1.44 Makefile --- Makefile 2001/07/06 04:55:32 1.44 +++ Makefile 2001/07/16 19:08:52 @@ -51,8 +51,8 @@ include ../Makeconfig ifeq ($(build-shared),yes) -before-compile := $(objpfx)crti.o -extra-objs = crti.o +extra-objs += crti.o +omit-deps += crti CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions endif @@ -69,6 +69,8 @@ include ../Rules extra-B-pthread.so = -B$(common-objpfx)linuxthreads/ +$(objpfx)libpthread.so: $(objpfx)crti.o +$(objpfx)libpthread.so: +preinit += $(objpfx)crti.o znodelete-yes = -DHAVE_Z_NODELETE CFLAGS-mutex.c += -D__NO_WEAK_PTHREAD_ALIASES -- Andreas Schwab "And now for something SuSE Labs completely different." Andreas.Schwab@suse.de SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |