]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2004-07-21 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Wed, 21 Jul 2004 23:14:37 +0000 (23:14 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 21 Jul 2004 23:14:37 +0000 (23:14 +0000)
* Makefile ($(objpfx)multidir.mk): Use $(make-target-directory).

linuxthreads/Makefile
nptl/Makefile

index 2d8a254c401ebaa2b3bce3ca5bcd4983bb75ad0b..d416aa5d380eaa9fb409e23315ffe991541db689 100644 (file)
@@ -86,6 +86,7 @@ ifeq ($(build-shared),yes)
 # We do it once and save the result in a generated makefile.
 -include $(objpfx)multidir.mk
 $(objpfx)multidir.mk: $(common-objpfx)config.make
+       $(make-target-directory)
        dir=`$(CC) $(CFLAGS) $(CPPFLAGS) -print-multi-directory`; \
        echo "multidir := $$dir" > $@T
        mv -f $@T $@
@@ -308,7 +309,7 @@ $(objpfx)$(multidir)/crtn.o: $(objpfx)crtn.o $(objpfx)$(multidir)
        ln -f $< $@
 endif
 
-generated += crti.S crtn.S defs.h pt-initfini.s libpthread_nonshared.a 
+generated += crti.S crtn.S defs.h pt-initfini.s libpthread_nonshared.a
 endif
 
 ifeq (yes,$(build-static-nss))
index a723e8b884f3ee05b874094bf7b0349135bf18f0..e797f4d486686d60ec09a1777d54f12fff650707 100644 (file)
@@ -307,6 +307,7 @@ ifeq ($(build-shared),yes)
 # We do it once and save the result in a generated makefile.
 -include $(objpfx)multidir.mk
 $(objpfx)multidir.mk: $(common-objpfx)config.make
+       $(make-target-directory)
        dir=`$(CC) $(CFLAGS) $(CPPFLAGS) -print-multi-directory`; \
        echo "multidir := $$dir" > $@T
        mv -f $@T $@