git: 12061d2626e0 - main - diff: link with libm for sqrt()
Piotr Pawel Stefaniak
pstef at FreeBSD.org
Thu Sep 16 07:32:39 UTC 2021
The branch main has been updated by pstef:
URL: https://cgit.FreeBSD.org/src/commit/?id=12061d2626e095cd5a5cbadeb567916e7d74db5a
commit 12061d2626e095cd5a5cbadeb567916e7d74db5a
Author: Piotr Pawel Stefaniak <pstef at FreeBSD.org>
AuthorDate: 2021-09-16 07:27:29 +0000
Commit: Piotr Pawel Stefaniak <pstef at FreeBSD.org>
CommitDate: 2021-09-16 07:31:44 +0000
diff: link with libm for sqrt()
Reported by: Jenkins
Fixes: bcf2e78dc48378456798191f1c15cb76d6221a65
---
usr.bin/diff/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/usr.bin/diff/Makefile b/usr.bin/diff/Makefile
index a9f79d3d81e1..4879570306ba 100644
--- a/usr.bin/diff/Makefile
+++ b/usr.bin/diff/Makefile
@@ -4,6 +4,7 @@
PROG= diff
SRCS= diff.c diffdir.c diffreg.c xmalloc.c pr.c
+LIBADD= m
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
More information about the dev-commits-src-all
mailing list