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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/rmmount/Makefile
          +++ new/usr/src/cmd/rmmount/Makefile
↓ open down ↓ 38 lines elided ↑ open up ↑
  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   48  CERRWARN += -_gcc=-Wno-unused-function
  49      -CERRWARN += -_gcc=-Wno-uninitialized
       49 +CERRWARN += $(CNOWARN_UNINIT)
  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)
  59   59          $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS)
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX