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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/svc/lsvcrun/Makefile
          +++ new/usr/src/cmd/svc/lsvcrun/Makefile
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  OBJS =          lsvcrun.o
  29   29  SRCS =          $(OBJS:%.o=%.c)
  30   30  POFILES =       $(OBJS:.o=.po)
  31   31  
  32   32  ROOTLIBSVCBINPROG = $(ROOT)/lib/svc/bin/$(PROG)
  33   33  
  34   34  include ../../Makefile.cmd
  35   35  
  36   36  LDLIBS +=       -lcontract -lscf -luutil
  37   37  CERRWARN +=     -_gcc=-Wno-parentheses
  38      -CERRWARN +=     -_gcc=-Wno-uninitialized
       38 +CERRWARN +=     $(CNOWARN_UNINIT)
  39   39  
  40   40  lint := LINTFLAGS = -ux
  41   41  
  42   42  .KEEP_STATE:
  43   43  
  44   44  all: $(PROG)
  45   45  
  46   46  $(PROG): $(OBJS)
  47   47          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  48   48          $(POST_PROCESS)
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX