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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libinetsvc/Makefile.com
          +++ new/usr/src/lib/libinetsvc/Makefile.com
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  
  36   36  SRCDIR =        ../common
  37   37  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  38   38  
  39   39  CFLAGS +=                       $(CCVERBOSE) -Wp,$(CSTD_GNU99)
  40   40  CPPFLAGS +=                     -I../common -D_REENTRANT
  41   41  $(RELEASE_BUILD)CPPFLAGS +=     -DNDEBUG
  42   42  
  43   43  CERRWARN +=     -_gcc=-Wno-parentheses
  44   44  CERRWARN +=     -_gcc=-Wno-switch
  45      -CERRWARN +=     -_gcc=-Wno-uninitialized
       45 +CERRWARN +=     $(CNOWARN_UNINIT)
  46   46  
  47   47  # not linted
  48   48  SMATCH=off
  49   49  
  50   50  .KEEP_STATE:
  51   51  
  52   52  all: $(LIBS)
  53   53  
  54   54  lint: lintcheck
  55   55  
  56   56  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX