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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4v/n2rng/Makefile
          +++ new/usr/src/uts/sun4v/n2rng/Makefile
↓ open down ↓ 60 lines elided ↑ open up ↑
  61   61  #
  62   62  ALL_TARGET      = $(BINARY)
  63   63  LINT_TARGET     = $(MODULE).lint
  64   64  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  65   65  
  66   66  #
  67   67  # lint pass one enforcement
  68   68  #
  69   69  CFLAGS += $(CCVERBOSE) -DN2 -I$(COM_DIR)
  70   70  LINTFLAGS += -DN2 -I$(COM_DIR)
  71      -CERRWARN += -_gcc=-Wno-uninitialized
       71 +CERRWARN += $(CNOWARN_UNINIT)
  72   72  
  73   73  #
  74   74  # module dependencies
  75   75  #
  76   76  LDFLAGS += -dy -Nmisc/kcf
  77   77  
  78   78  #
  79   79  #       Default build targets.
  80   80  #
  81   81  .KEEP_STATE:
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX