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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sparc/wc/Makefile
          +++ new/usr/src/uts/sparc/wc/Makefile
↓ open down ↓ 53 lines elided ↑ open up ↑
  54   54  LINT_TARGET     = $(MODULE).lint
  55   55  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  56   56  
  57   57  #
  58   58  #       Override defaults to build a unique, local modstubs.o.
  59   59  #
  60   60  MODSTUBS_DIR     = $(OBJS_DIR)
  61   61  $(MODSTUBS_O)   := AS_CPPFLAGS += -DWC_MODULE
  62   62  CLEANFILES      += $(MODSTUBS_O)
  63   63  
  64      -CERRWARN        += -_gcc=-Wno-uninitialized
       64 +CERRWARN        += $(CNOWARN_UNINIT)
  65   65  
  66   66  #
  67   67  # lint pass one enforcement
  68   68  #
  69   69  CFLAGS += $(CCVERBOSE)
  70   70  LDFLAGS += -dy -Nmisc/tem -Ndacf/consconfig_dacf
  71   71  
  72   72  #
  73   73  #       Default build targets.
  74   74  #
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX