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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/acctadm/Makefile
          +++ new/usr/src/cmd/acctadm/Makefile
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  
  29   29  OBJS = main.o aconf.o res.o utils.o
  30   30  SRCS = $(OBJS:.o=.c)
  31   31  POFILES = $(OBJS:.o=.po)
  32   32  
  33   33  include ../Makefile.cmd
  34   34  
  35   35  ROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
  36   36  
  37   37  CFLAGS += $(CCVERBOSE)
  38      -CERRWARN += -_gcc=-Wno-uninitialized
       38 +CERRWARN += $(CNOWARN_UNINIT)
  39   39  CERRWARN += -_gcc=-Wno-parentheses
  40   40  LDLIBS += -lexacct -lscf -lsecdb -ldladm
  41   41  POFILE = acctadm.po
  42   42  XGETFLAGS = -a -x acctadm.xcl
  43   43  FILEMODE = 0555
  44   44  
  45   45  .KEEP_STATE:
  46   46  
  47   47  all: $(PROG)
  48   48  
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX