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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fm/modules/common/fabric-xlate/Makefile
          +++ new/usr/src/cmd/fm/modules/common/fabric-xlate/Makefile
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34  CPPFLAGS += -I$(SRC)/uts/sun4v/io/px
  35   35  INCDIRS = $(SRC)/uts/common
  36   36  CFLAGS += -I$(INCDIRS)
  37   37  LINTFLAGS += -I$(INCDIRS)
  38   38  
  39   39  LDFLAGS += -L$(ROOT)/usr/lib/fm -R/usr/lib/fm
  40   40  LDLIBS += -luutil -lxml2 -L$(ROOTLIB)/fm -ltopo
  41   41  
  42   42  CERRWARN += -_gcc=-Wno-parentheses
  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
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX