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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/chmod/Makefile
          +++ new/usr/src/cmd/chmod/Makefile
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  PROG= chmod
  27   27  OBJS= $(PROG).o common.o
  28   28  SRCS= $(OBJS:%.o=%.c)
  29   29  
  30   30  POFILES= $(OBJS:%.o=%.po)
  31   31  
  32   32  include ../Makefile.cmd
  33   33  
  34   34  CFLAGS += $(CCVERBOSE)
  35   35  CERRWARN += -_gcc=-Wno-parentheses
  36      -CERRWARN += -_gcc=-Wno-uninitialized
       36 +CERRWARN += $(CNOWARN_UNINIT)
  37   37  
  38   38  CPPFLAGS += -D_FILE_OFFSET_BITS=64
  39   39  
  40   40  LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2
  41   41  
  42   42  LDLIBS += -lsec -lnvpair -lcmdutils
  43   43  
  44   44  POFILE= chmod_cmd.po
  45   45  XGETFLAGS= -a -x chmod.xcl
  46   46  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX