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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.sbin/in.routed/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/in.routed/Makefile
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  _D_XOPEN_EXTN = -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
  33   33  
  34   34  # Turning on __EXTENSIONS__ breaks lint, and we need __EXTENSIONS__.
  35   35  # This is really a lint problem, so around the breakage.
  36   36  LINTFLAGS += -erroff=E_FUNC_DECL_VAR_ARG2 -erroff=E_INCONS_VAL_TYPE_DECL2 \
  37   37               -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_ARG_USED2
  38   38  
  39   39  CPPFLAGS +=     $(_D_XOPEN_EXTN)
  40   40  CFLAGS +=       $(CCVERBOSE)
  41   41  CERRWARN +=     -_gcc=-Wno-parentheses
  42      -CERRWARN +=     -_gcc=-Wno-uninitialized
       42 +CERRWARN +=     $(CNOWARN_UNINIT)
  43   43  # not linted
  44   44  SMATCH=off
  45   45  
  46   46  LDLIBS +=       -lxnet -lmd -lsocket
  47   47  CLEAN_FILES +=  $(ROUTEDOBJS) $(RTQUERYOBJS)
  48   48  CLOBBERFILES += $(ROUTEDPROG) $(RTQUERYPROG)
  49   49  #
  50   50  # Message catalog
  51   51  #
  52   52  POFILE=         in.routed.po
↓ open down ↓ 47 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX