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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/volcheck/Makefile
          +++ new/usr/src/cmd/volcheck/Makefile
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38  LDLIBS +=       -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lhal -lhal-storage -lcontract
  39   39  
  40   40  CPPFLAGS +=     $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS)
  41   41  CPPFLAGS +=     -I$(ROOT)/usr/include/hal
  42   42  CPPFLAGS +=     -I$(SRC)/cmd/rmvolmgr
  43   43  CSTD =  $(CSTD_GNU99)
  44   44  
  45   45  CERRWARN +=     -_gcc=-Wno-switch
  46   46  CERRWARN +=     -_gcc=-Wno-unused-variable
  47   47  CERRWARN +=     -_gcc=-Wno-parentheses
  48      -CERRWARN +=     -_gcc=-Wno-uninitialized
       48 +CERRWARN +=     $(CNOWARN_UNINIT)
  49   49  CERRWARN +=     -_gcc=-Wno-unused-function
  50   50  
  51   51  # not linted
  52   52  SMATCH=off
  53   53  
  54   54  .KEEP_STATE:
  55   55  
  56   56  all: $(PROG)
  57   57  
  58   58  $(PROG): $(OBJS)
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX