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/nfs/nfsmapid/Makefile
          +++ new/usr/src/cmd/fs.d/nfs/nfsmapid/Makefile
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  COMMON    =     nfs_resolve.o
  38   38  SRCS      =     nfsmapid.c ../lib/nfs_resolve.c nfsmapid_server.c
  39   39  DSRC      =     nfsmapid_dt.d
  40   40  DOBJ      =     $(DSRC:%.d=%.o)
  41   41  OBJS      =     nfsmapid.o nfsmapid_server.o $(COMMON)
  42   42  CPPFLAGS +=     -I../lib -D_POSIX_PTHREAD_SEMANTICS
  43   43  
  44   44  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  45   45  CERRWARN +=     -_gcc=-Wno-unused-variable
  46   46  CERRWARN +=     -_gcc=-Wno-parentheses
  47      -CERRWARN +=     -_gcc=-Wno-uninitialized
       47 +CERRWARN +=     $(CNOWARN_UNINIT)
  48   48  
  49   49  # not linted
  50   50  SMATCH=off
  51   51  
  52   52  all:            $(TYPEPROG) $(TESTPROG)
  53   53  
  54   54  $(TYPEPROG):    $(OBJS) $(DSRC)
  55   55                  $(COMPILE.d) -s $(DSRC) -o $(DOBJ) $(OBJS)
  56   56                  $(LINK.c) $(ZIGNORE) -o $@ $(DOBJ) $(OBJS) $(LDLIBS)
  57   57                  $(POST_PROCESS)
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX