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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mv/Makefile
          +++ new/usr/src/cmd/mv/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  ROOTXPG4LINKS= $(ROOTXPG4BIN)/$(CPFILE) $(ROOTXPG4BIN)/$(LNFILE)
  36   36  
  37   37  include ../Makefile.cmd
  38   38  
  39   39  clean $(XPG4)   := OBJS += values-xpg4.o
  40   40  
  41   41  CLOBBERFILES += $(CPFILE) $(LNFILE)
  42   42  CFLAGS  +=      $(CCVERBOSE)
  43   43  CERRWARN +=     -_gcc=-Wno-parentheses
  44   44  CERRWARN +=     -_gcc=-Wno-unused-variable
  45      -CERRWARN +=     -_gcc=-Wno-uninitialized
       45 +CERRWARN +=     $(CNOWARN_UNINIT)
  46   46  $(XPG4) := CFLAGS += -DXPG4
  47   47  LINTFLAGS += -DXPG4 -u
  48   48  XGETFLAGS += -a -x mv.xcl
  49   49  CPPFLAGS += -D_FILE_OFFSET_BITS=64 -I $(SRC)/common/util
  50   50  
  51   51  lint := LDLIBS += -lcmdutils -lavl -lsec -lnvpair
  52   52  $(PROG) := LDLIBS += -lcmdutils -lavl -lsec -lnvpair
  53   53  $(XPG4) := LDLIBS += -lcmdutils -lavl -lsec -lnvpair
  54   54  
  55   55  .KEEP_STATE:
↓ open down ↓ 48 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX