HomeFreeBSD

Allow compiling usr.bin/find on Linux and Mac

Description

Allow compiling usr.bin/find on Linux and Mac

When building FreeBSD the makefiles invoke find with various flags such as
-s that aren't supported in the native /usr/bin/find. To fix this I
build the FreeBSD version of find and use that when crossbuilding.

Inserting lots if #ifdefs in the code is rather ugly but I don't see a
better solution.

Reviewed By: brooks (mentor)
Approved By: jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D13306

Details

Provenance
arichardsonAuthored on Feb 6 2018, 3:41 PM
Parents
rGe911aac76a31: Make mips_postboot_fixup work when building the kernel with clang+lld
Branches
Unknown
Tags
Unknown