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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/syslogd/Makefile.com
          +++ new/usr/src/cmd/syslogd/Makefile.com
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  CONFIGFILE=     syslog.conf
  29   29  TXTS=           syslog.conf
  30   30  PRODUCT=        $(PROG) $(ROTATESCRIPT)
  31   31  OBJS=           syslogd.o queue.o list.o conf.o
  32   32  SRCS=           $(OBJS:%.o=../%.c)
  33   33  LLOBJS=         $(OBJS:%.o=%.ll)
  34   34  
  35   35  include ../../Makefile.cmd
  36   36  
  37   37  $(PROG) lint    := LDLIBS += -lscf -lnsl
  38      -CERRWARN        += -_gcc=-Wno-uninitialized
       38 +CERRWARN        += $(CNOWARN_UNINIT)
  39   39  
  40   40  # not linted
  41   41  SMATCH=off
  42   42  
  43   43  CPPFLAGS        += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
  44   44  CFLAGS          += -DNDEBUG
  45   45  
  46   46  # there's some extra utility code defined but not used.
  47   47  LINTFLAGS       += -erroff=E_NAME_DEF_NOT_USED2
  48   48  
↓ open down ↓ 57 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX