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/svcs/Makefile
          +++ new/usr/src/cmd/svc/svcs/Makefile
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  
  33   33  include ../../Makefile.cmd
  34   34  include ../../Makefile.ctf
  35   35  
  36   36  POFILE =        $(PROG)_all.po
  37   37  LDLIBS +=       -lcontract -lscf -luutil -lumem -lnvpair -lzonecfg
  38   38  CPPFLAGS += -I ../common
  39   39  
  40   40  lint := LINTFLAGS = -mux
  41   41  CERRWARN += -_gcc=-Wno-unused-label
  42      -CERRWARN += -_gcc=-Wno-uninitialized
       42 +CERRWARN += $(CNOWARN_UNINIT)
  43   43  CERRWARN += -_gcc=-Wno-parentheses
  44   44  
  45   45  .KEEP_STATE:
  46   46  
  47   47  all: $(PROG)
  48   48  
  49   49  %.o: ../common/%.c
  50   50          $(COMPILE.c) $(OUTPUT_OPTION) $<
  51   51          $(POST_PROCESS_O)
  52   52  
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX