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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.sbin/routeadm/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/routeadm/Makefile
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43                          $(ROOTSVCNETWORK)/forwarding.xml
  44   44  
  45   45  include ../../Makefile.cmd-inet
  46   46  
  47   47  $(ROOTSVCMANIFESTS)     :=      FILEMODE= 444
  48   48  
  49   49  ROOTUSRSBINLINKS=       $(PROG:%=$(ROOTUSRSBIN)/%)
  50   50  
  51   51  CPPFLAGS +=     -I../../../../common/svc -I$(CMDINETCOMMONDIR)
  52   52  CERRWARN +=     -_gcc=-Wno-parentheses
  53      -CERRWARN +=     -_gcc=-Wno-uninitialized
       53 +CERRWARN +=     $(CNOWARN_UNINIT)
  54   54  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  55   55  
  56   56  LDLIBS +=               -lscf -luutil -lsocket
  57   57  
  58   58  ROOTSBINPROG=           $(ROOTFS_PROG:%=$(ROOTSBIN)/%)
  59   59  
  60   60  .KEEP_STATE:
  61   61  
  62   62  all: $(PROG)
  63   63  
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX