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/rds/Makefile
          +++ new/usr/src/uts/intel/rds/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  OBJECTS         = $(RDS_OBJS:%=$(OBJS_DIR)/%)
  36   36  LINTS           = $(RDS_OBJS:%.o=$(LINTS_DIR)/%.ln)
  37   37  ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  38   38  LDFLAGS         += -dy -Nfs/sockfs -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      -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  #       Default build targets.
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX