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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/iscsiadm/Makefile
          +++ new/usr/src/cmd/iscsiadm/Makefile
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34  
  35   35  LDLIBS += -lnsl -ldevinfo -lima
  36   36  
  37   37  CPPFLAGS += -DSOLARIS
  38   38  CPPFLAGS += -I.
  39   39  
  40   40  CERRWARN += -_gcc=-Wno-parentheses
  41   41  CERRWARN += -_gcc=-Wno-unused-variable
  42   42  CERRWARN += -_gcc=-Wno-unused-function
  43   43  CERRWARN += -_gcc=-Wno-switch
  44      -CERRWARN += -_gcc=-Wno-uninitialized
       44 +CERRWARN += $(CNOWARN_UNINIT)
  45   45  
  46   46  # not linted
  47   47  SMATCH=off
  48   48  
  49   49  FILEMODE= 0555
  50   50  
  51   51  .KEEP_STATE:
  52   52  
  53   53  all: $(PROG)
  54   54  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX