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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/pools/Makefile.pools
          +++ new/usr/src/cmd/pools/Makefile.pools
↓ open down ↓ 22 lines elided ↑ open up ↑
  23   23  # Copyright (c) 2001 by Sun Microsystems, Inc.
  24   24  # All rights reserved.
  25   25  #
  26   26  
  27   27  POOLSSRC =              $(SRC)/cmd/pools
  28   28  POOLSCOMMONDIR =        $(POOLSSRC)/common
  29   29  
  30   30  COMMON_OBJS = utils.o
  31   31  COMMON_SRCS = $(COMMON_OBJS:%.o=$(POOLSCOMMONDIR)/%.c)
  32   32  
  33      -CERRWARN += -_gcc=-Wno-uninitialized
       33 +CERRWARN += $(CNOWARN_UNINIT)
  34   34  CERRWARN += -_gcc=-Wno-unused-label
  35   35  CERRWARN += -_gcc=-Wno-unused-variable
  36   36  CERRWARN += -_gcc=-Wno-implicit-function-declaration
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX