summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McDonald <danmcd@joyent.com>2021-09-22 15:46:08 -0400
committerDan McDonald <danmcd@joyent.com>2021-09-22 17:16:05 -0400
commitfdd257eae4dc81bf98126bf8010bb705761a232a (patch)
tree29f3dec05f2cb788569b755d83f320f5b68b32f2
parent489c4c5ee49bb6dca6f69e0c79b358fd79799b73 (diff)
downloadillumos-joyent-fdd257eae4dc81bf98126bf8010bb705761a232a.tar.gz
14099 14073 breaks gcc4 builds on x86, should be SPARC-only
Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
-rw-r--r--usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com b/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com
index 67cdcc5980..dcdaf24b3d 100644
--- a/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com
+++ b/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com
@@ -66,7 +66,8 @@ CERRWARN += -_gcc=-Wno-unused-function
DYNFLAGS += $(KERBRUNPATH)
# setting -L $(ROOT)/usr/lib/gss because libkdb_ldap needs mech_krb5
-LDLIBS += -L $(ROOT)/usr/lib/gss -L $(ROOTLIBDIR) -lkdb_ldap -lc
+LDLIBS += -L $(ROOT)/usr/lib/gss -L $(ROOTLIBDIR) -lkdb_ldap
+$(SPARC_BLD)LDLIBS += -lc
.KEEP_STATE: