git: 1e86bf6009e5 - main - tests/sys/vfs: use LIBADD for libutil, don't clobber LDFLAGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Oct 2026 05:44:58 UTC
The branch main has been updated by olivier:
URL: https://cgit.FreeBSD.org/src/commit/?id=1e86bf6009e5b244170064ff0cb1ae48d8cda50a
commit 1e86bf6009e5b244170064ff0cb1ae48d8cda50a
Author: Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2026-10-28 05:32:56 +0000
Commit: Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2026-10-28 05:32:56 +0000
tests/sys/vfs: use LIBADD for libutil, don't clobber LDFLAGS
"LDFLAGS= -lutil" dropped LDFLAGS from make.conf for every test in the
directory.
Approved by: glebius
Fixes: c3ac06161dd5 ("nmount: Introduce the "check_fsid" option")
Sponsored by: Netflix
---
tests/sys/vfs/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/sys/vfs/Makefile b/tests/sys/vfs/Makefile
index 5a21fc20cca1..07969bfef8d2 100644
--- a/tests/sys/vfs/Makefile
+++ b/tests/sys/vfs/Makefile
@@ -7,11 +7,10 @@ CFLAGS.lookup_cap_dotdot.c+= -I${SRCTOP}/tests
ATF_TESTS_C+= nmount_check_fsid
CFLAGS.nmount_check_fsid.c+= -I${SRCTOP}/tests
+LIBADD.nmount_check_fsid+= util
ATF_TESTS_SH+= abi_root_symlink
-LDFLAGS= -lutil
-
#ATF_TESTS_SH+= lookup_test
TAP_TESTS_SH+= trailing_slash