HomeFreeBSD

Create symlinks to host tools on non-FreeBSD hosts

Description

Create symlinks to host tools on non-FreeBSD hosts

This is unnecessary when cross-building from Linux/macOS.
Additionally, cp -p appears to be broken on macOS Big Sur
(https://openradar.appspot.com/8957219).

For some unknown reason this commit appears to fix
freezes when building on macOS Big Sur.
This also fixes building in docker with volume mounts
with ACLs, since setting the ACL with cp -p fails otherwise.

Obtained From: CheriBSD
Tested By: gnn (macOS Big Sur), Nathaniel Wesley Filardo (docker)
Reviewed By: jrtc27, imp
Differential Revision: https://reviews.freebsd.org/D28267

(cherry picked from commit a8b20f4fabbca9bef377009429848d4f9cea18ae)

Details

Provenance
arichardsonAuthored on Mar 17 2021, 9:48 AM
Reviewer
jrtc27
Differential Revision
D28267: Create symlinks to host tools on non-FreeBSD hosts
Parents
rG8dc9d6a7b09f: libc/qsort: Don't allow interposing recursive calls
Branches
Unknown
Tags
Unknown