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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/tzmon/Makefile
          +++ new/usr/src/uts/i86pc/tzmon/Makefile
↓ open down ↓ 62 lines elided ↑ open up ↑
  63   63  CPPFLAGS        += -DSUNDDI
  64   64  CERRWARN        += -_gcc=-Wno-unused-function
  65   65  
  66   66  LDFLAGS         += -dy -N misc/acpica
  67   67  
  68   68  #
  69   69  # For now, disable these checks; maintainers should endeavor
  70   70  # to investigate and remove these for maximum coverage.
  71   71  # Please do not carry these forward to new Makefiles.
  72   72  #
  73      -CERRWARN        += -_gcc=-Wno-uninitialized
       73 +CERRWARN        += $(CNOWARN_UNINIT)
  74   74  
  75   75  #
  76   76  #       Default build targets.
  77   77  #
  78   78  .KEEP_STATE:
  79   79  
  80   80  def:            $(DEF_DEPS)
  81   81  
  82   82  all:            $(ALL_DEPS)
  83   83  
  84   84  clean:          $(CLEAN_DEPS)
  85   85  
  86   86  clobber:        $(CLOBBER_DEPS)
  87   87  
  88   88  install:        $(INSTALL_DEPS)
  89   89  
  90   90  #
  91   91  #       Include common targets.
  92   92  #
  93   93  include $(UTSBASE)/i86pc/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX