mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 02:40:06 +00:00
Use LN_S in more places to forestall hard link creation
This commit is contained in:
parent
6302c3ccf8
commit
654fbaf1b7
@ -737,7 +737,7 @@ endif
|
||||
ifeq (,$(filter sunrpc,$(subdirs)))
|
||||
$(common-objpfx)linkobj/libc_pic.a: $(common-objpfx)libc_pic.a
|
||||
$(make-target-directory)
|
||||
ln -f $< $@
|
||||
$(LN_S) -f $< $@
|
||||
else
|
||||
$(common-objpfx)linkobj/libc_pic.a: $(common-objpfx)libc_pic.a \
|
||||
$(common-objpfx)sunrpc/librpc_compat_pic.a
|
||||
@ -1095,7 +1095,7 @@ mv -f $@.new $@
|
||||
endef
|
||||
define make-link-multidir
|
||||
$(make-target-directory)
|
||||
ln -f $(objpfx)/$(@F) $@
|
||||
$(LN_S) -f $(objpfx)/$(@F) $@
|
||||
endef
|
||||
endif
|
||||
|
||||
|
@ -678,14 +678,14 @@ $(objpfx)tst-cleanup0-cmp.out: tst-cleanup0.expect $(objpfx)tst-cleanup0.out
|
||||
$(evaluate-test)
|
||||
|
||||
$(objpfx)crti.o: $(objpfx)pt-crti.o
|
||||
ln -f $< $@
|
||||
$(LN_S) -f $< $@
|
||||
|
||||
ifneq ($(multidir),.)
|
||||
$(objpfx)$(multidir)/crti.o: $(objpfx)crti.o $(objpfx)$(multidir)/
|
||||
ln -f $< $@
|
||||
$(LN_S) -f $< $@
|
||||
|
||||
$(objpfx)$(multidir)/crtn.o: $(objpfx)crtn.o $(objpfx)$(multidir)/
|
||||
ln -f $< $@
|
||||
$(LN_S) -f $< $@
|
||||
endif
|
||||
|
||||
generated += libpthread_nonshared.a \
|
||||
|
@ -163,7 +163,7 @@ endif
|
||||
$(objpfx)x86_64/tst-x86_64mod-1.os: $(objpfx)tst-x86_64mod-1.os
|
||||
$(make-target-directory)
|
||||
rm -f $@
|
||||
ln $< $@
|
||||
$(LN_S) $< $@
|
||||
|
||||
do-tests-clean common-mostlyclean: tst-x86_64-1-clean
|
||||
|
||||
@ -174,4 +174,4 @@ tst-x86_64-1-clean:
|
||||
$(objpfx)x86_64/tst-platformmod-2.os: $(objpfx)tst-platformmod-2.os
|
||||
$(make-target-directory)
|
||||
rm -f $@
|
||||
ln $< $@
|
||||
$(LN_S) $< $@
|
||||
|
Loading…
Reference in New Issue
Block a user