mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 07:02:42 +00:00
Allow bootstrapping mtree on Linux systems
Linux glibc has a dummy lchmod that always fails and emitting a linker warning when used. Don't fail the build due to that warning when bootstrapping by setting LD_FATAL_WARNINGS=no. Reviewed By: brooks, emaste Differential Revision: https://reviews.freebsd.org/D25930
This commit is contained in:
parent
9053c1a431
commit
c4bd82d701
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363806
@ -22,4 +22,10 @@ MLINKS= mtree.8 nmtree.8
|
||||
HAS_TESTS=
|
||||
SUBDIR.${MK_TESTS}+= tests
|
||||
|
||||
.if defined(BOOTSTRAPPING)
|
||||
# Linux glibc has a dummy lchmod that always fails. Don't fail due to
|
||||
# the linker warning that it emits.
|
||||
LD_FATAL_WARNINGS=no
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user