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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libzonestat/Makefile.com
          +++ new/usr/src/lib/libzonestat/Makefile.com
↓ open down ↓ 28 lines elided ↑ open up ↑
  29   29  
  30   30  include ../../Makefile.lib
  31   31  
  32   32  LIBS =          $(DYNLIB) $(LINTLIB)
  33   33  LDLIBS +=       -lcmdutils -lumem -lc
  34   34  
  35   35  SRCDIR =        ../common
  36   36  CPPFLAGS +=     -I../common -mt -D_POSIX_PTHREAD_SEMANTICS
  37   37  $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  38   38  
  39      -CERRWARN +=     -_gcc=-Wno-uninitialized
       39 +CERRWARN +=     $(CNOWARN_UNINIT)
  40   40  
  41   41  # not linted
  42   42  SMATCH=off
  43   43  
  44   44  .KEEP_STATE:
  45   45  
  46   46  all:    $(LIBS)
  47   47  
  48   48  lint:   lintcheck
  49   49  
  50   50  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX