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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/bofi/Makefile
          +++ new/usr/src/uts/intel/bofi/Makefile
↓ open down ↓ 61 lines elided ↑ open up ↑
  62   62  
  63   63  #
  64   64  #       Override defaults to build a unique, local modstubs.o.
  65   65  #
  66   66  MODSTUBS_DIR     = $(OBJS_DIR)
  67   67  $(MODSTUBS_O)   := AS_CPPFLAGS += -DBOFI_MODULE
  68   68  CLEANFILES      += $(MODSTUBS_O)
  69   69  
  70   70  CPPFLAGS        += -I../../sun4
  71   71  
  72      -CERRWARN        += -_gcc=-Wno-uninitialized
       72 +CERRWARN        += $(CNOWARN_UNINIT)
  73   73  
  74   74  # needs work
  75   75  $(OBJS_DIR)/bofi.o := SMOFF += signed_integer_overflow_check,deref_check
  76   76  
  77   77  #
  78   78  # For now, disable these lint checks; maintainers should endeavor
  79   79  # to investigate and remove these for maximum lint coverage.
  80   80  # Please do not carry these forward to new Makefiles.
  81   81  #
  82   82  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
↓ open down ↓ 29 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX