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-crypto/cryptoadm/Makefile
          +++ new/usr/src/cmd/cmd-crypto/cryptoadm/Makefile
↓ open down ↓ 32 lines elided ↑ open up ↑
  33   33          adm_metaslot.o
  34   34  
  35   35  SRCS = $(OBJS:.o=.c)
  36   36  
  37   37  include ../../Makefile.cmd 
  38   38  
  39   39  POFILES = $(OBJS:%.o=%.po)
  40   40  POFILE = $(PROG)_all.po
  41   41  
  42   42  CFLAGS += $(CCVERBOSE)
  43      -CERRWARN += -_gcc=-Wno-uninitialized
       43 +CERRWARN += $(CNOWARN_UNINIT)
  44   44  CERRWARN += -_gcc=-Wno-parentheses
  45   45  
  46   46  LDLIBS += -lcryptoutil
  47   47  
  48   48  .KEEP_STATE:
  49   49  
  50   50  all:    $(PROG)
  51   51  
  52   52  $(PROG): $(OBJS)
  53   53          $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(DYNFLAGS)
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX