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/intel/amd64/genunix/Makefile
          +++ new/usr/src/cmd/mdb/intel/amd64/genunix/Makefile
↓ open down ↓ 66 lines elided ↑ open up ↑
  67   67  CPPFLAGS += -I$(SRC)/uts/i86xpv
  68   68  
  69   69  # Needed to include c2/audit.h (from cred.h)
  70   70  CPPFLAGS += -I$(SRC)/uts/common
  71   71  
  72   72  # Needed to find include file mutex_impl.h
  73   73  CPPFLAGS += -I$(SRC)/uts/intel
  74   74  
  75   75  CERRWARN += -_gcc=-Wno-char-subscripts
  76   76  CERRWARN += -_gcc=-Wno-unused-label
  77      -CERRWARN += -_gcc=-Wno-uninitialized
       77 +CERRWARN += $(CNOWARN_UNINIT)
  78   78  CERRWARN += -_gcc=-Wno-parentheses
  79   79  CERRWARN += -_gcc=-Wno-type-limits
  80   80  
  81   81  LINTFLAGS64 += -erroff=E_EMPTY_TRANSLATION_UNIT
  82   82  
  83   83  MODSRCS_DIR = ../../../intel/modules/genunix
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX