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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ed/Makefile
          +++ new/usr/src/cmd/ed/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  SRCS= ./ed.c ../expr/compile.c 
  36   36  
  37   37  POFILES= $(EDOBJ:%.o=%.po)
  38   38  
  39   39  include ../Makefile.cmd
  40   40  
  41   41  CFLAGS += $(CCVERBOSE)
  42   42  CERRWARN += -_gcc=-Wno-parentheses
  43   43  CERRWARN += -_gcc=-Wno-unused-variable
  44   44  CERRWARN += -_gcc=-Wno-unused-function
  45      -CERRWARN += -_gcc=-Wno-uninitialized
       45 +CERRWARN += $(CNOWARN_UNINIT)
  46   46  
  47   47  # not linted
  48   48  SMATCH=off
  49   49  
  50   50  $(XPG4) := CFLAGS += -DXPG4  
  51   51  $(XPG6) := CFLAGS += -DXPG6 -I$(SRC)/lib/libc/inc 
  52   52  lint := LDLIBS += -lgen -lcrypt
  53   53  LDLIBS += -lmapmalloc -lgen -lcrypt_i
  54   54  XGETFLAGS += -a -x ed.xcl
  55   55  
↓ open down ↓ 68 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX