git: feb9ba2993cf - main - mididump(1): Use LIBADD instead of LDFLAGS

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Sat, 19 Oct 2024 14:34:40 UTC
The branch main has been updated by christos:

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

commit feb9ba2993cf6aefa49b7b17ca49c52210c26035
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2024-10-19 14:34:20 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2024-10-19 14:34:20 +0000

    mididump(1): Use LIBADD instead of LDFLAGS
    
    Reported by:    kevans
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Reviewed by:    markj, emaste
    Differential Revision:  https://reviews.freebsd.org/D47190
---
 usr.bin/mididump/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/mididump/Makefile b/usr.bin/mididump/Makefile
index f3b273172b1e..758bbb3a1189 100644
--- a/usr.bin/mididump/Makefile
+++ b/usr.bin/mididump/Makefile
@@ -3,6 +3,6 @@
 PROG=		mididump
 SRCS=		${PROG}.c
 MAN=		${PROG}.1
-LDFLAGS+=	-lm
+LIBADD+=	m
 
 .include <bsd.prog.mk>