public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Fangrui Song <maskray@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc/maskray/grte] Use LN_S in more places to forestall hard link creation Date: Fri, 27 Aug 2021 23:22:35 +0000 (GMT) [thread overview] Message-ID: <20210827232235.5C4DD3857C7B@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=654fbaf1b77c7ae93325d6c0e651a9f0ccff465d commit 654fbaf1b77c7ae93325d6c0e651a9f0ccff465d Author: Stan Shebs <stanshebs@google.com> Date: Wed Feb 14 09:44:15 2018 -0800 Use LN_S in more places to forestall hard link creation Diff: --- Makerules | 4 ++-- nptl/Makefile | 6 +++--- sysdeps/x86_64/Makefile | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makerules b/Makerules index 7689488659..652879038c 100644 --- a/Makerules +++ b/Makerules @@ -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 diff --git a/nptl/Makefile b/nptl/Makefile index a2b3a005c6..40680e854e 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -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 \ diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile index 54e2ac7151..04f04cc5aa 100644 --- a/sysdeps/x86_64/Makefile +++ b/sysdeps/x86_64/Makefile @@ -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) $< $@
reply other threads:[~2021-08-27 23:22 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210827232235.5C4DD3857C7B@sourceware.org \ --to=maskray@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).