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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/svc/svcadm/Makefile
          +++ new/usr/src/cmd/svc/svcadm/Makefile
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  OBJS =          svcadm.o synch.o
  28   28  SRCS =          $(OBJS:%.o=%.c)
  29   29  POFILES =       $(OBJS:.o=.po)
  30   30  
  31   31  include ../../Makefile.cmd
  32   32  
  33   33  POFILE =        $(PROG)_all.po
  34   34  LDLIBS +=       -lscf -luutil -lcontract
  35   35  
  36   36  CERRWARN +=     -_gcc=-Wno-switch
  37      -CERRWARN +=     -_gcc=-Wno-uninitialized
       37 +CERRWARN +=     $(CNOWARN_UNINIT)
  38   38  
  39   39  lint := LINTFLAGS = -ux
  40   40  
  41   41  .KEEP_STATE:
  42   42  
  43   43  all: $(PROG)
  44   44  
  45   45  $(PROG): $(OBJS)
  46   46          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  47   47          $(POST_PROCESS)
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX