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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libipadm/Makefile.com
          +++ new/usr/src/lib/libipadm/Makefile.com
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  
  37   37  LIBS =          $(DYNLIB) $(LINTLIB)
  38   38  LDLIBS +=       -lc -linetutil -lsocket -ldlpi -lnvpair -ldhcpagent \
  39   39                  -ldladm -lsecdb -ldhcputil
  40   40  
  41   41  SRCDIR =        ../common
  42   42  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  43   43  
  44   44  CFLAGS +=       $(CCVERBOSE)
  45   45  CERRWARN +=     -_gcc=-Wno-switch
  46      -CERRWARN +=     -_gcc=-Wno-uninitialized
       46 +CERRWARN +=     $(CNOWARN_UNINIT)
  47   47  CPPFLAGS +=     -I$(SRCDIR) -D_REENTRANT
  48   48  
  49   49  # not linted
  50   50  SMATCH=off
  51   51  
  52   52  .KEEP_STATE:
  53   53  
  54   54  all:            $(LIBS)
  55   55  
  56   56  lint:           lintcheck
  57   57  
  58   58  include $(SRC)/lib/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX