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/e1000g/Makefile
          +++ new/usr/src/uts/sparc/e1000g/Makefile
↓ open down ↓ 54 lines elided ↑ open up ↑
  55   55  #
  56   56  ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  57   57  LINT_TARGET     = $(MODULE).lint
  58   58  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  59   59  
  60   60  LINTFLAGS  += \
  61   61          -I$(UTSBASE)/common/io/e1000g \
  62   62          -I$(UTSBASE)/common/io/e1000api
  63   63  
  64   64  
  65      -CERRWARN        += -_gcc=-Wno-uninitialized
       65 +CERRWARN        += $(CNOWARN_UNINIT)
  66   66  CERRWARN        += -_gcc=-Wno-parentheses
  67   67  CERRWARN        += -_gcc=-Wno-switch
  68   68  CERRWARN        += -_gcc=-Wno-unused-label
  69   69  CERRWARN        += -_gcc=-Wno-unused-variable
  70   70  CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  71   71  
  72   72  LINTTAGS        += -erroff=E_CONSTANT_CONDITION
  73   73  
  74   74  #
  75   75  #       Override defaults
↓ open down ↓ 47 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX