git: 55f35c5398ff - main - Use 'mixed' links for 'hard' links by default.

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 27 Feb 2023 17:19:57 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=55f35c5398ffec5835c2f014a7787465997a221e

commit 55f35c5398ffec5835c2f014a7787465997a221e
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-02-08 21:20:46 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-02-27 17:19:00 +0000

    Use 'mixed' links for 'hard' links by default.
    
    emaste suggested this in https://github.com/freebsd/freebsd-src/pull/133
    and it works. It will do the right thing by default, and handle the weird
    cases 133 was trying to fix.
---
 share/mk/bsd.own.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index a4a407ac8b6a..81d91d330541 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -248,7 +248,7 @@ _LINKMODE?=	${LINKMODE:U${NOBINMODE}}
 _SYMLINKOWN?=	${SYMLINKOWN:U${BINOWN}}
 _SYMLINKGRP?=	${SYMLINKGRP:U${BINGRP}}
 _SYMLINKMODE?=	${SYMLINKMODE:U755}
-HRDLINK?=	-l h -o ${_LINKOWN} -g ${_LINKGRP} -m ${_LINKMODE}
+HRDLINK?=	-l mr -o ${_LINKOWN} -g ${_LINKGRP} -m ${_LINKMODE}
 MANHRDLINK?=	-l h -o ${MANOWN} -g ${MANGRP} -m ${MANMODE}
 SYMLINK?=	-l s -o ${_SYMLINKOWN} -g ${_SYMLINKGRP} -m ${_SYMLINKMODE}
 LSYMLINK?=	-l s -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE}