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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/powertop/Makefile.com
          +++ new/usr/src/cmd/powertop/Makefile.com
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36          turbo.o
  37   37  
  38   38  SRCS            = $(COMMON_OBJS:%.o=../common/%.c)
  39   39  
  40   40  include ../../Makefile.cmd
  41   41  .KEEP_STATE:
  42   42  
  43   43  CFLAGS          += $(CCVERBOSE)
  44   44  CFLAGS64        += $(CCVERBOSE)
  45   45  CERRWARN        += -_gcc=-Wno-parentheses
  46      -CERRWARN        += -_gcc=-Wno-uninitialized
       46 +CERRWARN        += $(CNOWARN_UNINIT)
  47   47  
  48   48  SMOFF += free
  49   49  
  50   50  LDLIBS          += -lcurses -ldtrace -lkstat
  51   51  
  52   52  FILEMODE        = 0555
  53   53  
  54   54  CLEANFILES      += $(COMMON_OBJS)
  55   55  
  56   56  all:    $(PROG)
  57   57  
  58   58  clean:
  59   59          $(RM) $(CLEANFILES)
  60   60  
  61   61  lint:   lint_SRCS
  62   62  
  63   63  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX