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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/ufs/newfs/Makefile
          +++ new/usr/src/cmd/fs.d/ufs/newfs/Makefile
↓ open down ↓ 29 lines elided ↑ open up ↑
  30   30  
  31   31  OTHERINSTALL=   $(ROOTUSRSBIN)/$(LIBPROG)
  32   32  LINKVALUE=      ../lib/fs/$(FSTYPE)/$(LIBPROG)
  33   33  
  34   34  include         ../../Makefile.fstype
  35   35  
  36   36  CPPFLAGS +=     -I../../ -D_LARGEFILE64_SOURCE
  37   37  LDLIBS += -ladm -lefi
  38   38  
  39   39  CERRWARN +=     -_gcc=-Wno-parentheses
  40      -CERRWARN +=     -_gcc=-Wno-uninitialized
       40 +CERRWARN +=     $(CNOWARN_UNINIT)
  41   41  
  42   42  # not linted
  43   43  SMATCH=off
  44   44  
  45   45  OBJS=           $(LIBPROG).o $(FSLIB)
  46   46  SRCS=           $(LIBPROG).c $(FSLIBSRC)
  47   47  
  48   48  $(LIBPROG):     $(OBJS)
  49   49                  $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  50   50                  $(POST_PROCESS)
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX