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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libpkg/Makefile.com
          +++ new/usr/src/lib/libpkg/Makefile.com
↓ open down ↓ 57 lines elided ↑ open up ↑
  58   58  $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  59   59  
  60   60  
  61   61  LIBS = $(DYNLIB) $(LINTLIB)
  62   62  
  63   63  
  64   64  LDLIBS +=       -lc -lscf -ladm
  65   65  
  66   66  CFLAGS +=       $(CCVERBOSE)
  67   67  CERRWARN +=     -_gcc=-Wno-parentheses
  68      -CERRWARN +=     -_gcc=-Wno-uninitialized
       68 +CERRWARN +=     $(CNOWARN_UNINIT)
  69   69  CERRWARN +=     -_gcc=-Wno-clobbered
  70   70  CERRWARN +=     -_gcc=-Wno-switch
  71   71  
  72   72  # not linted
  73   73  SMATCH=off
  74   74  
  75   75  CPPFLAGS +=     -I$(SRCDIR) -D_FILE_OFFSET_BITS=64
  76   76  
  77   77  .KEEP_STATE:
  78   78  
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX