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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/tcpd/Makefile
          +++ new/usr/src/cmd/tcpd/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18                  -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" \
  19   19                  -I../../lib/libwrap
  20   20  tcpd tcpdmatch try-from := \
  21   21                  LDLIBS += -lwrap
  22   22  tcpdchk :=      LDLIBS += -lwrap -lnsl
  23   23  
  24   24  CERRWARN +=     -erroff=E_FUNC_HAS_NO_RETURN_STMT
  25   25  CERRWARN +=     -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
  26   26  CERRWARN +=     -_gcc=-Wno-unused-variable
  27   27  CERRWARN +=     -_gcc=-Wno-parentheses
  28      -CERRWARN +=     -_gcc=-Wno-uninitialized
       28 +CERRWARN +=     $(CNOWARN_UNINIT)
  29   29  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  30   30  CERRWARN +=     -_gcc=-Wno-return-type
  31   31  CERRWARN +=     -_gcc=-Wno-clobbered
  32   32  
  33   33  # not linted
  34   34  SMATCH=off
  35   35  
  36   36  # Various components must export interfaces, but also contain name-space
  37   37  # clashes with system libraries.
  38   38  MAPFILE.INT.D=  $(MAPFILE.NGB) mapfile-intf-tcpdchk
↓ open down ↓ 176 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX