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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/nl/Makefile
          +++ new/usr/src/cmd/nl/Makefile
↓ open down ↓ 32 lines elided ↑ open up ↑
  33   33  NLOBJ= nlobjs/$(PROG).o nlobjs/compile.o
  34   34  XPG4NLOBJ= nlobjs.xpg4/$(PROG).o nlobjs.xpg4/compile.o
  35   35  
  36   36  OBJS = $(NLOBJ) $(XPG4NLOBJ)
  37   37  SRCS = nl.c ../expr/compile.c
  38   38  
  39   39  include ../Makefile.cmd
  40   40  
  41   41  LDLIBS += -lgen
  42   42  CFLAGS += $(CCVERBOSE)
  43      -CERRWARN += -_gcc=-Wno-uninitialized
       43 +CERRWARN += $(CNOWARN_UNINIT)
  44   44  CERRWARN += -_gcc=-Wno-unused-variable
  45   45  
  46   46  # not linted
  47   47  SMATCH=off
  48   48  
  49   49  $(XPG4):= CPPFLAGS += -DXPG4
  50   50  
  51   51  MAPFILE.INT =   ../expr/mapfile-intf
  52   52  LDFLAGS +=      $(MAPFILE.INT:%=-M%)
  53   53  
↓ open down ↓ 39 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX