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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/sparc/v9/genunix/Makefile
          +++ new/usr/src/cmd/mdb/sparc/v9/genunix/Makefile
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60  #
  61   61  CPPFLAGS += -I$(SRC)/uts/sun4u
  62   62  
  63   63  # Needed to include c2/audit.h (from cred.h)
  64   64  CPPFLAGS += -I$(SRC)/uts/common
  65   65  # Needed to find include file mutex_impl.h
  66   66  CPPFLAGS += -I$(SRC)/uts/sparc/v9
  67   67  
  68   68  CERRWARN += -_gcc=-Wno-char-subscripts
  69   69  CERRWARN += -_gcc=-Wno-unused-label
  70      -CERRWARN += -_gcc=-Wno-uninitialized
       70 +CERRWARN += $(CNOWARN_UNINIT)
  71   71  CERRWARN += -_gcc=-Wno-parentheses
  72   72  CERRWARN += -_gcc=-Wno-type-limits
  73   73  
  74   74  LINTFLAGS64 += -erroff=E_EMPTY_TRANSLATION_UNIT
  75   75  
  76   76  MODSRCS_DIR = ../../../sparc/modules/genunix
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX