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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/prctl/Makefile.com
          +++ new/usr/src/cmd/prctl/Makefile.com
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  PROG=   prctl
  29   29  
  30   30  OBJS=   prctl.o utils.o
  31   31  
  32   32  SRCS=   ../prctl.c ../utils.c
  33   33  
  34   34  include ../../Makefile.cmd
  35   35  
  36   36  CFLAGS  += $(CCVERBOSE)
  37   37  CERRWARN += -_gcc=-Wno-parentheses
  38      -CERRWARN += -_gcc=-Wno-uninitialized
       38 +CERRWARN += $(CNOWARN_UNINIT)
  39   39  
  40   40  # not linted
  41   41  SMATCH=off
  42   42  
  43   43  LDLIBS  += -lproc -lproject
  44   44  
  45   45  # Adding this flag to LINTFLAGS did not do anything.  I'm adding this flag
  46   46  # because there are some lint errors due to private functions in libproject.
  47   47  # I do not want to add these functions to /usr/lib/llib-project because we
  48   48  # ship it.  usr/src/cmd/newtask has similar lint errors, but I do not wish
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX