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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/expr/Makefile
          +++ new/usr/src/cmd/expr/Makefile
↓ open down ↓ 29 lines elided ↑ open up ↑
  30   30  EXPROBJ= exprobjs/expr.o exprobjs/compile.o
  31   31  XPG4EXPROBJ= exprobjs.xpg4/expr.o exprobjs.xpg4/compile.o
  32   32  XPG6EXPROBJ= exprobjs.xpg6/expr.o exprobjs.xpg6/compile.o
  33   33  
  34   34  OBJS= $(EXPROBJ) $(XPG4EXPROBJ) $(XPG6EXPROBJ)
  35   35  SRCS= expr.c compile.c
  36   36  
  37   37  include ../Makefile.cmd
  38   38  
  39   39  CFLAGS += $(CCVERBOSE)
  40      -CERRWARN += -_gcc=-Wno-uninitialized
       40 +CERRWARN += $(CNOWARN_UNINIT)
  41   41  CERRWARN += -_gcc=-Wno-extra
  42   42  # "missing type for func"
  43   43  SMATCH=off
  44   44  $(XPG4) := CFLAGS += -DXPG4
  45   45  $(XPG6) := CFLAGS += -DXPG6
  46   46  
  47   47  XGETFLAGS += -a -x expr.xcl
  48   48  
  49   49  LDLIBS += -lgen
  50   50  
↓ open down ↓ 45 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX