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/startd/Makefile
          +++ new/usr/src/cmd/svc/startd/Makefile
↓ open down ↓ 63 lines elided ↑ open up ↑
  64   64  
  65   65  ROOTCMDDIR=     $(ROOT)/lib/svc/bin
  66   66  
  67   67  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  68   68  CFLAGS += $(CCVERBOSE)
  69   69  CPPFLAGS += -I. -I../common
  70   70  
  71   71  CERRWARN += -_gcc=-Wno-parentheses
  72   72  CERRWARN += -_gcc=-Wno-unused-label
  73   73  CERRWARN += -_gcc=-Wno-switch
  74      -CERRWARN += -_gcc=-Wno-uninitialized
       74 +CERRWARN += $(CNOWARN_UNINIT)
  75   75  
  76   76  # these look like real bugs here, but ...
  77   77  SMOFF += impossible_mask,signed_integer_overflow_check
  78   78  
  79   79  $(OBJS) := CPPFLAGS += -D_FILE_OFFSET_BITS=64 -D_REENTRANT
  80   80  
  81   81  proc.o := CPPFLAGS += -D_REENTRANT
  82   82  
  83   83  %.o:    ../common/%.c
  84   84          $(COMPILE.c) $(OUTPUT_OPTION) $<
↓ open down ↓ 49 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX