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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/prtconf/Makefile.com
          +++ new/usr/src/cmd/prtconf/Makefile.com
↓ open down ↓ 24 lines elided ↑ open up ↑
  25   25  
  26   26  PROG=   prtconf
  27   27  OBJS=   $(PROG).o pdevinfo.o prt_xxx.o
  28   28  SRCS=   $(OBJS:%.o=../%.c)
  29   29  
  30   30  include ../../Makefile.cmd
  31   31  
  32   32  CFLAGS  +=      $(CCVERBOSE)
  33   33  CERRWARN +=     -_gcc=-Wno-parentheses
  34   34  CERRWARN +=     -_gcc=-Wno-switch
  35      -CERRWARN +=     -_gcc=-Wno-uninitialized
       35 +CERRWARN +=     $(CNOWARN_UNINIT)
  36   36  LDLIBS  += -ldevinfo -lnvpair -lpcidb
  37   37  
  38   38  FILEMODE= 02555
  39   39  
  40   40  CLEANFILES += $(OBJS)
  41   41  
  42   42  .KEEP_STATE:
  43   43  
  44   44  all: $(PROG) 
  45   45  
↓ open down ↓ 14 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX