git: 632ddb864ee8 - main - krb5: append to LDFLAGS instead of replacing
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Mar 2026 17:43:54 UTC
The branch main has been updated by chs:
URL: https://cgit.FreeBSD.org/src/commit/?id=632ddb864ee89c275ff5f8f9079522dec33c0d3c
commit 632ddb864ee89c275ff5f8f9079522dec33c0d3c
Author: Chuck Silvers <chs@FreeBSD.org>
AuthorDate: 2026-03-20 17:19:35 +0000
Commit: Chuck Silvers <chs@FreeBSD.org>
CommitDate: 2026-03-20 17:19:35 +0000
krb5: append to LDFLAGS instead of replacing
Sponsored by: Netflix
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D55335
---
krb5/lib/apputils/Makefile | 2 +-
krb5/lib/crypto/Makefile | 2 +-
krb5/lib/gssapi/Makefile | 2 +-
krb5/lib/kadm5clnt/Makefile | 2 +-
krb5/lib/kadm5srv/Makefile | 2 +-
krb5/lib/kadmin_common/Makefile | 2 +-
krb5/lib/kdb/Makefile | 2 +-
krb5/lib/kprop_util/Makefile | 2 +-
krb5/lib/krad/Makefile | 2 +-
krb5/lib/krb5/Makefile | 2 +-
krb5/lib/rpc/Makefile | 2 +-
krb5/plugins/audit/Makefile | 2 +-
krb5/plugins/k5tls/Makefile | 2 +-
krb5/plugins/kdb/db2/Makefile | 2 +-
krb5/plugins/preauth/otp/Makefile | 2 +-
krb5/plugins/preauth/pkinit/Makefile | 2 +-
krb5/plugins/preauth/spake/Makefile | 2 +-
krb5/plugins/preauth/test/Makefile | 2 +-
krb5/util/et/Makefile | 2 +-
krb5/util/support/Makefile | 2 +-
20 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/krb5/lib/apputils/Makefile b/krb5/lib/apputils/Makefile
index 38491579a619..a83ddf459a85 100644
--- a/krb5/lib/apputils/Makefile
+++ b/krb5/lib/apputils/Makefile
@@ -13,7 +13,7 @@
LIB= apputils
INTERNALLIB=
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
SRCS= net-server.c \
udppktinfo.c \
diff --git a/krb5/lib/crypto/Makefile b/krb5/lib/crypto/Makefile
index a130a858cfa4..eb4c4e72a972 100644
--- a/krb5/lib/crypto/Makefile
+++ b/krb5/lib/crypto/Makefile
@@ -13,7 +13,7 @@
LIB= k5crypto
# SHLIB_MAJOR= 3
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
LIBADD= com_err krb5support crypto
VERSION_MAP= ${.CURDIR}/version.map
diff --git a/krb5/lib/gssapi/Makefile b/krb5/lib/gssapi/Makefile
index eca8dd6ffde9..579934f0f395 100644
--- a/krb5/lib/gssapi/Makefile
+++ b/krb5/lib/gssapi/Makefile
@@ -13,7 +13,7 @@
.include "${KRB5_SRCTOP}/Makefile.pc"
LIB= gssapi_krb5
-LDFLAGS= -Wl,--no-undefined
+LDFLAGS+= -Wl,--no-undefined
LIBADD= krb5 k5crypto com_err krb5profile krb5support
VERSION_MAP= ${.CURDIR}/version.map
PCFILES= krb5-gssapi.pc \
diff --git a/krb5/lib/kadm5clnt/Makefile b/krb5/lib/kadm5clnt/Makefile
index 27546a87949e..f9aafdbd1498 100644
--- a/krb5/lib/kadm5clnt/Makefile
+++ b/krb5/lib/kadm5clnt/Makefile
@@ -13,7 +13,7 @@
.include "${KRB5_SRCTOP}/Makefile.pc"
LIB= kadm5clnt_mit
-LDFLAGS= -Wl,--no-undefined
+LDFLAGS+= -Wl,--no-undefined
LIBADD= krb5profile gssrpc gssapi_krb5 krb5 k5crypto krb5support com_err
VERSION_MAP= ${.CURDIR}/version.map
PCFILES= kadm-client.pc
diff --git a/krb5/lib/kadm5srv/Makefile b/krb5/lib/kadm5srv/Makefile
index 826a9edad25a..4df87cf80385 100644
--- a/krb5/lib/kadm5srv/Makefile
+++ b/krb5/lib/kadm5srv/Makefile
@@ -13,7 +13,7 @@
.include "${KRB5_SRCTOP}/Makefile.pc"
LIB= kadm5srv_mit
-LDFLAGS= -Wl,--no-undefined
+LDFLAGS+= -Wl,--no-undefined
LIBADD= krb5profile gssrpc gssapi_krb5 kdb5 krb5 k5crypto krb5support com_err
VERSION_MAP= ${.CURDIR}/version.map
PCFILES= kadm-server.pc
diff --git a/krb5/lib/kadmin_common/Makefile b/krb5/lib/kadmin_common/Makefile
index 926a7b266c05..9c057b39352b 100644
--- a/krb5/lib/kadmin_common/Makefile
+++ b/krb5/lib/kadmin_common/Makefile
@@ -13,7 +13,7 @@
LIB= kadmin_common
INTERNALLIB=
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
INCS=
SRCS= kadmin.c \
diff --git a/krb5/lib/kdb/Makefile b/krb5/lib/kdb/Makefile
index 52087f9cd389..624e75ccb63c 100644
--- a/krb5/lib/kdb/Makefile
+++ b/krb5/lib/kdb/Makefile
@@ -13,7 +13,7 @@
.include "${KRB5_SRCTOP}/Makefile.pc"
LIB= kdb5
-LDFLAGS= -Wl,--no-undefined
+LDFLAGS+= -Wl,--no-undefined
LIBADD= krb5profile gssrpc krb5 k5crypto com_err krb5support gssapi_krb5
VERSION_MAP= ${.CURDIR}/version.map
PCFILES= kdb.pc
diff --git a/krb5/lib/kprop_util/Makefile b/krb5/lib/kprop_util/Makefile
index d29f17e20b65..b2a1dab35428 100644
--- a/krb5/lib/kprop_util/Makefile
+++ b/krb5/lib/kprop_util/Makefile
@@ -13,7 +13,7 @@
LIB= kprop_util
INTERNALLIB=
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
INCS=
SRCS= kprop_util.c
diff --git a/krb5/lib/krad/Makefile b/krb5/lib/krad/Makefile
index 17cd4f8142b5..64a764e8e47a 100644
--- a/krb5/lib/krad/Makefile
+++ b/krb5/lib/krad/Makefile
@@ -13,7 +13,7 @@
LIB= krad
# SHLIB_MAJOR= 0
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
LIBADD= krb5 k5crypto com_err krb5profile krb5support verto
VERSION_MAP= ${.CURDIR}/version.map
diff --git a/krb5/lib/krb5/Makefile b/krb5/lib/krb5/Makefile
index a502b10f9a03..a8270040b94f 100644
--- a/krb5/lib/krb5/Makefile
+++ b/krb5/lib/krb5/Makefile
@@ -13,7 +13,7 @@
.include "${KRB5_SRCTOP}/Makefile.pc"
LIB= krb5
-LDFLAGS= -Wl,--no-undefined
+LDFLAGS+= -Wl,--no-undefined
LIBADD= krb5profile k5crypto com_err krb5support
VERSION_MAP= ${.CURDIR}/version.map
PCFILES= krb5.pc \
diff --git a/krb5/lib/rpc/Makefile b/krb5/lib/rpc/Makefile
index d1c814d18cee..57ed11f7c826 100644
--- a/krb5/lib/rpc/Makefile
+++ b/krb5/lib/rpc/Makefile
@@ -13,7 +13,7 @@
.include "${KRB5_SRCTOP}/Makefile.pc"
LIB= gssrpc
-LDFLAGS= -Wl,--no-undefined
+LDFLAGS+= -Wl,--no-undefined
LIBADD= gssapi_krb5 krb5 k5crypto com_err krb5support
VERSION_MAP= ${.CURDIR}/version.map
PCFILES= gssrpc.pc
diff --git a/krb5/plugins/audit/Makefile b/krb5/plugins/audit/Makefile
index c906ba97bcc4..464a22b90ebe 100644
--- a/krb5/plugins/audit/Makefile
+++ b/krb5/plugins/audit/Makefile
@@ -13,7 +13,7 @@
LIB= kdc_j_encode
LIBDIR= ${PLUGINSDIR}/audit
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
VERSION_MAP= ${.CURDIR}/version.map
.PATH: ${KRB5_DIR}/plugins/audit
diff --git a/krb5/plugins/k5tls/Makefile b/krb5/plugins/k5tls/Makefile
index 38398ce8f387..b5dbe66dab5c 100644
--- a/krb5/plugins/k5tls/Makefile
+++ b/krb5/plugins/k5tls/Makefile
@@ -14,7 +14,7 @@
LIBDIR= ${PLUGINSDIR}/tls
SHLIBDIR= ${LIBDIR}
LIB= k5tls
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
LIBADD= krb5 krb5profile krb5support ssl crypto k5crypto com_err sys
VERSION_MAP= ${.CURDIR}/version.map
diff --git a/krb5/plugins/kdb/db2/Makefile b/krb5/plugins/kdb/db2/Makefile
index e5ab45ed7bc0..1b8366f39904 100644
--- a/krb5/plugins/kdb/db2/Makefile
+++ b/krb5/plugins/kdb/db2/Makefile
@@ -14,7 +14,7 @@
LIBDIR= ${PLUGINSDIR}/kdb
SHLIBDIR= ${LIBDIR}
LIB= db2
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
LIBADD= krb5profile krb5 com_err k5crypto kadm5srv_mit kdb5 gssrpc gssapi_krb5 krb5support
VERSION_MAP= ${.CURDIR}/version.map
diff --git a/krb5/plugins/preauth/otp/Makefile b/krb5/plugins/preauth/otp/Makefile
index ed1f8ba9c5f1..a281c1e72128 100644
--- a/krb5/plugins/preauth/otp/Makefile
+++ b/krb5/plugins/preauth/otp/Makefile
@@ -13,7 +13,7 @@
LIB= otp
LIBDIR= ${PLUGINSDIR}/preauth
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
LIBADD= krb5profile krad verto krb5 k5crypto com_err krb5support m
VERSION_MAP= ${.CURDIR}/version.map
diff --git a/krb5/plugins/preauth/pkinit/Makefile b/krb5/plugins/preauth/pkinit/Makefile
index 0c68bfa19094..9c1c7062b302 100644
--- a/krb5/plugins/preauth/pkinit/Makefile
+++ b/krb5/plugins/preauth/pkinit/Makefile
@@ -13,7 +13,7 @@
LIB= pkinit
LIBDIR= ${PLUGINSDIR}/preauth
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
LIBADD= krb5profile krb5 com_err k5crypto crypto krb5support
VERSION_MAP= ${.CURDIR}/version.map
diff --git a/krb5/plugins/preauth/spake/Makefile b/krb5/plugins/preauth/spake/Makefile
index a8f21569e15f..bd87ea0eb6e0 100644
--- a/krb5/plugins/preauth/spake/Makefile
+++ b/krb5/plugins/preauth/spake/Makefile
@@ -13,7 +13,7 @@
LIB= spake
LIBDIR= ${PLUGINSDIR}/preauth
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
LIBADD= krb5profile krb5 k5crypto com_err krb5support crypto sys
VERSION_MAP= ${.CURDIR}/version.map
diff --git a/krb5/plugins/preauth/test/Makefile b/krb5/plugins/preauth/test/Makefile
index 70fbeb2afe07..6d173b6409cc 100644
--- a/krb5/plugins/preauth/test/Makefile
+++ b/krb5/plugins/preauth/test/Makefile
@@ -13,7 +13,7 @@
LIB= test
LIBDIR= ${PLUGINSDIR}/preauth
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
LIBADD= krb5 k5crypto com_err krb5support
VERSION_MAP= ${.CURDIR}/version.map
diff --git a/krb5/util/et/Makefile b/krb5/util/et/Makefile
index 35ac601629d7..0eaacff69123 100644
--- a/krb5/util/et/Makefile
+++ b/krb5/util/et/Makefile
@@ -13,7 +13,7 @@
LIB= com_err
# SHLIB_MAJOR= 3
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
INCSDIR=${INCLUDEDIR}
LIBADD= krb5support
VERSION_MAP= ${.CURDIR}/version.map
diff --git a/krb5/util/support/Makefile b/krb5/util/support/Makefile
index e2e677fee89d..154c9e105cd2 100644
--- a/krb5/util/support/Makefile
+++ b/krb5/util/support/Makefile
@@ -13,7 +13,7 @@
LIB= krb5support
# SHLIB_MAJOR= 0
-LDFLAGS=-Wl,--no-undefined
+LDFLAGS+=-Wl,--no-undefined
VERSION_MAP= ${.CURDIR}/version.map
.PATH: ${KRB5_DIR}/util/support