diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2020-08-25 13:23:31 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2020-08-25 13:23:31 +0000 |
commit | 7ec1ec4fdb98d87602c8501dae9b9cbd24b7d22b (patch) | |
tree | e0c68e3e2ec5ef91266afe23d2e5423bc06489a1 /Makefile.inc1 | |
parent | d141d1cc5f9a204a1eeb4b564e4cfa1821fe287e (diff) | |
download | src-test-7ec1ec4fdb98d87602c8501dae9b9cbd24b7d22b.tar.gz src-test-7ec1ec4fdb98d87602c8501dae9b9cbd24b7d22b.zip |
Add missing FreeBSD functions to -legacy when building on macOS/Linux
In most cases this simply builds the file from lib/libc for missing
functions (e.g. strlcpy on Linux etc.). In cases where this is not possible
I've added an implementation to tools/build/cross-build.
The fgetln.c/fgetwln.c/closefrom.c compatibility code was obtained from
https://gitlab.freedesktop.org/libbsd/libbsd, but I'm not sure it makes
sense to import it into to contrib just for these three bootstrap files.
Reviewed By: brooks
Differential Revision: https://reviews.freebsd.org/D25978
Notes
Notes:
svn path=/head/; revision=364759
Diffstat (limited to 'Makefile.inc1')
0 files changed, 0 insertions, 0 deletions