diff options
author | Colin Percival <cperciva@FreeBSD.org> | 2025-10-13 15:58:10 +0000 |
---|---|---|
committer | Colin Percival <cperciva@FreeBSD.org> | 2025-10-14 02:52:35 +0000 |
commit | 3c9a2f383fc25cdffa80c1348cb5388290e0f283 (patch) | |
tree | 8c2f2cffbd4ccc05171ff33c028e573f3a821f38 /contrib/netcat/(public-mirror) | |
parent | 16155cccc4bf42a5a76806128e7ef637f9ae61fe (diff) |
As recently fixed in sockstat (9934558460e4), having tests/Makefile
include files from the parent directory with SRCS= ../foo.c results
in a race condition as the parent build and the tests build try to
produce the same object file but contain different paths.
Use .PATH to tell make to find sockstat.c in the parent directory
but place the object file in the current object directory.
Reviewed by: emaste, jrtc27, kevans
MFC after: 3 days
Sponsored by: https://www.patreon.com/cperciva
Differential Revision: https://reviews.freebsd.org/D53075
Diffstat (limited to 'contrib/netcat/(public-mirror)')
0 files changed, 0 insertions, 0 deletions