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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/sol_umad/Makefile
          +++ new/usr/src/uts/intel/sol_umad/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  OBJECTS         = $(SOL_UMAD_OBJS:%=$(OBJS_DIR)/%)
  36   36  LINTS           = $(SOL_UMAD_OBJS:%.o=$(LINTS_DIR)/%.ln)
  37   37  ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  38   38  CONF_SRCDIR     = $(UTSBASE)/common/io/ib/clients/of/sol_umad
  39   39  LDFLAGS         += -dy -Nmisc/sol_ofs -Nmisc/ibmf -Nmisc/ibtl
  40   40  #
  41   41  #       Include common rules.
  42   42  #
  43   43  include $(UTSBASE)/intel/Makefile.intel
  44   44  
  45      -CERRWARN        += -_gcc=-Wno-uninitialized
       45 +CERRWARN        += $(CNOWARN_UNINIT)
  46   46  
  47   47  #
  48   48  #       Define targets
  49   49  #
  50   50  ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  51   51  LINT_TARGET     = $(MODULE).lint
  52   52  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  53   53  
  54   54  #
  55   55  # path for header files
↓ open down ↓ 30 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX