Print this page
NEX-5204 silence lint and studio warnings that only occur with an adjunct proto
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/volrmmount/Makefile
          +++ new/usr/src/cmd/volrmmount/Makefile
↓ open down ↓ 39 lines elided ↑ open up ↑
  40   40  CPPFLAGS +=     -I$(ROOT)/usr/include/hal
  41   41  CPPFLAGS +=     -I$(SRC)/cmd/rmvolmgr
  42   42  CSTD =  $(CSTD_GNU99)
  43   43  
  44   44  CERRWARN +=     -_gcc=-Wno-switch
  45   45  CERRWARN +=     -_gcc=-Wno-unused-variable
  46   46  CERRWARN +=     -_gcc=-Wno-parentheses
  47   47  CERRWARN +=     -_gcc=-Wno-uninitialized
  48   48  CERRWARN +=     -_gcc=-Wno-unused-function
  49   49  
       50 +CERRWARN +=     -_cc=-errhdr=no%$(ADJUNCT_PROTO)/usr/include/glib-2.0
       51 +
  50   52  .KEEP_STATE:
  51   53  
  52   54  all: $(PROG)
  53   55  
  54   56  $(PROG): $(OBJS)
  55   57          $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS)
  56   58          $(POST_PROCESS)
  57   59  
  58   60  install: all $(ROOTPROG)
  59   61  
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX