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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/pcitool/Makefile.com
          +++ new/usr/src/cmd/pcitool/Makefile.com
↓ open down ↓ 23 lines elided ↑ open up ↑
  24   24  OBJS = pcitool.o pcitool_ui.o pcitool_usage.o
  25   25  SRCS = $(OBJS:%.o=../%.c)
  26   26  
  27   27  include $(SRC)/cmd/Makefile.cmd
  28   28  
  29   29  UTSBASE = ../../../../src/uts
  30   30  
  31   31  LDLIBS += -ldevinfo
  32   32  
  33   33  CFLAGS += -D$(MACH) -I$(UTSBASE)/common
  34      -CERRWARN += -_gcc=-Wno-uninitialized
       34 +CERRWARN += $(CNOWARN_UNINIT)
  35   35  CERRWARN += -_gcc=-Wno-parentheses
  36   36  CERRWARN += -_gcc=-Wno-unused-variable
  37   37  
  38   38  LINTFLAGS += -I$(UTSBASE)/common
  39   39  
  40   40  .KEEP_STATE:
  41   41  
  42   42  all: $(PROG)
  43   43  
  44   44  $(SUBDIRS):     FRC
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX