git: a335a52eedfd - main - bsnmpd: append to LDFLAGS rather than replacing it

From: Chuck Silvers <chs_at_FreeBSD.org>
Date: Wed, 19 Mar 2025 20:22:38 UTC
The branch main has been updated by chs:

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

commit a335a52eedfd2225ffd8b11d123d04a9d68a0274
Author:     Chuck Silvers <chs@FreeBSD.org>
AuthorDate: 2025-03-19 19:50:08 +0000
Commit:     Chuck Silvers <chs@FreeBSD.org>
CommitDate: 2025-03-19 19:50:08 +0000

    bsnmpd: append to LDFLAGS rather than replacing it
    
    Sponsored by:   Netflix
---
 usr.sbin/bsnmpd/bsnmpd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/bsnmpd/bsnmpd/Makefile b/usr.sbin/bsnmpd/bsnmpd/Makefile
index 245ffc51002f..e7c7a87eec7c 100644
--- a/usr.sbin/bsnmpd/bsnmpd/Makefile
+++ b/usr.sbin/bsnmpd/bsnmpd/Makefile
@@ -131,7 +131,7 @@ CFLAGS+= -I${CONTRIB}/lib -I${CONTRIB}/snmpd -I. -DUSE_LIBBEGEMOT
 CFLAGS+= -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_ERR_H -DHAVE_STRLCPY
 LIBADD=	begemot bsnmp
 
-LDFLAGS= -Wl,-export-dynamic
+LDFLAGS+= -Wl,-export-dynamic
 
 .if ${MK_OPENSSL} != "no"
 CFLAGS+= -DHAVE_LIBCRYPTO