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/rdsib/Makefile
          +++ new/usr/src/uts/intel/rdsib/Makefile
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  LINTS           = $(RDSIB_OBJS:%.o=$(LINTS_DIR)/%.ln)
  37   37  ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  38   38  LDFLAGS         += -dy -Ndrv/rds -Nmisc/ibtl -Nmisc/ibcm -Ndrv/ip
  39   39  CONF_SRCDIR     = $(UTSBASE)/common/io/ib/clients/rds
  40   40  #
  41   41  #       Include common rules.
  42   42  #
  43   43  include $(UTSBASE)/intel/Makefile.intel
  44   44  
  45   45  CERRWARN        += -_gcc=-Wno-switch
  46      -CERRWARN        += -_gcc=-Wno-uninitialized
       46 +CERRWARN        += $(CNOWARN_UNINIT)
  47   47  
  48   48  #
  49   49  #       Define targets
  50   50  #
  51   51  ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  52   52  LINT_TARGET     = $(MODULE).lint
  53   53  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  54   54  
  55   55  #
  56   56  #       Default build targets.
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX