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/sun4u/cpumem-diagnosis/Makefile
          +++ new/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/Makefile
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  
  38   38  INCDIRS = $(SRC)/uts/sun4u
  39   39  INCDIRS += $(SRC)/lib/fm/libfmd_adm/common
  40   40  INCDIRS += $(SRC)/lib/fm/libfmd_adm/sparcv9
  41   41  
  42   42  include ../../sun4/cpumem-diagnosis/Makefile.cpumem
  43   43  LDLIBS += -L$(ROOT)/usr/lib/fm -lfmd_adm
  44   44  LDFLAGS += -R/usr/lib/fm
  45   45  
  46   46  CERRWARN += -_gcc=-Wno-switch
  47      -CERRWARN += -_gcc=-Wno-uninitialized
       47 +CERRWARN += $(CNOWARN_UNINIT)
  48   48  CERRWARN += -_gcc=-Wno-char-subscripts
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX