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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/auditreduce/Makefile
          +++ new/usr/src/cmd/auditreduce/Makefile
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34  
  35   35  include $(SRC)/cmd/Makefile.cmd
  36   36  
  37   37  TEXT_DOMAIN = SUNW_OST_OSCMD
  38   38  POFILE = $(PROG).po
  39   39  MSGFILES = $(SRCS)
  40   40  
  41   41  CPPFLAGS += -I$(TABLEDIR) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  42   42  LDLIBS += -lnsl -lbsm -lscf -ltsol
  43   43  
  44      -CERRWARN += -_gcc=-Wno-uninitialized
       44 +CERRWARN += $(CNOWARN_UNINIT)
  45   45  CERRWARN += -_gcc=-Wno-parentheses
  46   46  
  47   47  # false positives / need cleanup
  48   48  SMOFF += indenting,no_if_block,strcpy_overflow
  49   49  
  50   50  .KEEP_STATE:
  51   51  
  52   52  all: $(PROG)
  53   53  
  54   54  install: all $(ROOTUSRSBINPROG)
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX