Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2021 07:32:39 GMT
From:      Piotr Pawel Stefaniak <pstef@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 12061d2626e0 - main - diff: link with libm for sqrt()
Message-ID:  <202109160732.18G7Wdi9023266@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pstef:

URL: https://cgit.FreeBSD.org/src/commit/?id=12061d2626e095cd5a5cbadeb567916e7d74db5a

commit 12061d2626e095cd5a5cbadeb567916e7d74db5a
Author:     Piotr Pawel Stefaniak <pstef@FreeBSD.org>
AuthorDate: 2021-09-16 07:27:29 +0000
Commit:     Piotr Pawel Stefaniak <pstef@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109160732.18G7Wdi9023266>