Print this page
12334 fix gcc4 build
12322 kdb: removal of unused dependency recommended
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
        
*** 20,29 ****
--- 20,30 ----
  #
  #
  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  # Use is subject to license terms.
  #
+ # Copyright 2020 Joyent, Inc.
  #
  
  LIBRARY= kldap.a
  VERS= .1
  
*** 63,80 ****
  CERRWARN +=     -_gcc=-Wno-parentheses
  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
  
  .KEEP_STATE:
  
  all:    $(LIBS)
  
- lint:   lintcheck
- 
  # include library targets
  include $(SRC)/lib/krb5/Makefile.targ
  
  FRC:
--- 64,78 ----
  CERRWARN +=     -_gcc=-Wno-parentheses
  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
  
  .KEEP_STATE:
  
  all:    $(LIBS)
  
  # include library targets
  include $(SRC)/lib/krb5/Makefile.targ
  
  FRC: