Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35      kssladm_delete.o \
  36   36      ksslutil.o
  37   37  
  38   38  SRCS = $(OBJS:%.o=%.c)
  39   39  
  40   40  ROOTUSRLIBPROG = $(PROG:%=$(ROOTLIB)/%)
  41   41  
  42   42  .KEEP_STATE:
  43   43  
  44   44  CFLAGS +=       $(CCVERBOSE)
  45      -CERRWARN +=     -_gcc=-Wno-uninitialized
       45 +CERRWARN +=     $(CNOWARN_UNINIT)
  46   46  CERRWARN +=     -_gcc=-Wno-address
  47   47  
  48   48  LDLIBS += -lkmf -lpkcs11 -lcryptoutil -lnsl -lsocket
  49   49  
  50   50  all: $(PROG)
  51   51  
  52   52  $(PROG): $(OBJS)
  53   53          $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
  54   54          $(POST_PROCESS)
  55   55  
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX