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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cpio/Makefile
          +++ new/usr/src/cmd/cpio/Makefile
↓ open down ↓ 23 lines elided ↑ open up ↑
  24   24  # Copyright (c) 2018, Joyent, Inc.
  25   25  
  26   26  PROG= cpio
  27   27  
  28   28  OBJS= cpio.o cpiostat.o utils.o
  29   29  SRCS= $(OBJS:%.o=%.c)
  30   30  
  31   31  include ../Makefile.cmd
  32   32  CPPFLAGS += -D_FILE_OFFSET_BITS=64 -DSOLARIS_PRIVS
  33   33  CERRWARN += -_gcc=-Wno-parentheses
  34      -CERRWARN += -_gcc=-Wno-uninitialized
       34 +CERRWARN += $(CNOWARN_UNINIT)
  35   35  
  36   36  # not linted
  37   37  SMATCH=off
  38   38  
  39   39  LDLIBS += -lsec -lcmdutils -lnvpair
  40   40  XGETFLAGS += -a -x cpio.xcl
  41   41  
  42   42  .KEEP_STATE:
  43   43  
  44   44  all: $(PROG)
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX