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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/rmvolmgr/Makefile
          +++ new/usr/src/cmd/rmvolmgr/Makefile
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  POFILE=rmvolmgr_all.po
  38   38  POFILES=$(OBJS:%.o=%.po)
  39   39  
  40   40  LDLIBS +=       -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lhal -lhal-storage -lcontract -lscf
  41   41  
  42   42  CPPFLAGS +=     $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS)
  43   43  CPPFLAGS +=     -I$(ROOT)/usr/include/hal
  44   44  CSTD =  $(CSTD_GNU99)
  45   45  
  46   46  CERRWARN +=     -_gcc=-Wno-switch
  47      -CERRWARN +=     -_gcc=-Wno-uninitialized
       47 +CERRWARN +=     $(CNOWARN_UNINIT)
  48   48  CERRWARN +=     -_gcc=-Wno-unused-variable
  49   49  CERRWARN +=     -_gcc=-Wno-parentheses
  50   50  CERRWARN +=     -_gcc=-Wno-unused-function
  51   51  
  52   52  # not linted
  53   53  SMATCH=off
  54   54  
  55   55  ROOTCMDDIR =            $(ROOTLIB)
  56   56  ROOTMANIFESTDIR =       $(ROOTSVCSYSTEMFILESYSTEM)
  57   57  $(ROOTMANIFEST) :=      FILEMODE = 444
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX