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/mfstscan/Makefile
          +++ new/usr/src/cmd/svc/mfstscan/Makefile
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  
  38   38  ROOTLIBSVCBINPROG = $(ROOT)/lib/svc/bin/$(PROG)
  39   39  
  40   40  include ../../Makefile.cmd
  41   41  
  42   42  POFILE =        $(PROG)_all.po
  43   43  CPPFLAGS +=     -I../common
  44   44  LDLIBS +=       -lscf -luutil -lmd5
  45   45  CLOBBERFILES += $(POFILES)
  46   46  
  47      -CERRWARN +=     -_gcc=-Wno-uninitialized
       47 +CERRWARN +=     $(CNOWARN_UNINIT)
  48   48  CERRWARN +=     -_gcc=-Wno-unused-label
  49   49  
  50   50  lint := LINTFLAGS = -ux -erroff=E_GLOBAL_COULD_BE_STATIC2
  51   51  
  52   52  .KEEP_STATE:
  53   53  
  54   54  all: $(PROG)
  55   55  
  56   56  $(PROG): $(OBJS)
  57   57          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX