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/udfs/mkfs/Makefile
          +++ new/usr/src/cmd/fs.d/udfs/mkfs/Makefile
↓ open down ↓ 39 lines elided ↑ open up ↑
  40   40  
  41   41  LDLIBS += -ladm
  42   42  
  43   43  MKFSOBJS=       mkfs.o udfslib.o
  44   44  
  45   45  UDFSDIR=        ../../../../uts/common/fs/ufs
  46   46  #UDFSOBJS=      ufs_subr.o ufs_tables.o
  47   47  UDFSOBJS=
  48   48  
  49   49  CERRWARN +=     -_gcc=-Wno-parentheses
  50      -CERRWARN +=     -_gcc=-Wno-uninitialized
       50 +CERRWARN +=     $(CNOWARN_UNINIT)
  51   51  
  52   52  # not linted
  53   53  SMATCH=off
  54   54  
  55   55  OBJS=           $(MKFSOBJS) $(UDFSOBJS)
  56   56  SRCS=           $(OBJS:%.o=%.c)
  57   57  
  58   58  $(LIBPROG):     $(OBJS)
  59   59                  $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  60   60                  $(POST_PROCESS)
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX