mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
2004-07-21 Roland McGrath <roland@redhat.com>
* Makefile ($(objpfx)multidir.mk): Use $(make-target-directory).
This commit is contained in:
parent
2ed2dc1846
commit
58c2859f14
@ -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))
|
||||
|
@ -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 $@
|
||||
|
Loading…
Reference in New Issue
Block a user