summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com1
-rw-r--r--usr/src/lib/krb5/plugins/kdb/ldap/sparc/Makefile8
2 files changed, 6 insertions, 3 deletions
diff --git a/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com b/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com
index dcdaf24b3d..966241305e 100644
--- a/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com
+++ b/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com
@@ -67,7 +67,6 @@ 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
-$(SPARC_BLD)LDLIBS += -lc
.KEEP_STATE:
diff --git a/usr/src/lib/krb5/plugins/kdb/ldap/sparc/Makefile b/usr/src/lib/krb5/plugins/kdb/ldap/sparc/Makefile
index ab75567679..e7acecf30b 100644
--- a/usr/src/lib/krb5/plugins/kdb/ldap/sparc/Makefile
+++ b/usr/src/lib/krb5/plugins/kdb/ldap/sparc/Makefile
@@ -22,9 +22,13 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
include ../Makefile.com
+#
+# Default -xO3 will trigger inclusion of SSP, which we do not need here.
+# illumos issue #14135
+#
+sparc_COPTFLAG= -O
+
install: all $(ROOTLIBDIR) $(ROOTLIBS) $(ROOTLINKS)