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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fm/fmdump/Makefile.com
          +++ new/usr/src/cmd/fm/fmdump/Makefile.com
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  PROG = fmdump
  33   33  ROOTPROG = $(ROOTUSRSBIN)/$(PROG)
  34   34  
  35   35  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  36   36  CPPFLAGS += -I. -I../common -I../../include
  37   37  CFLAGS += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST)
  38   38  LDLIBS += -L$(ROOT)/usr/lib/fm -lfmd_log -lnvpair -ltopo -lfmd_msg
  39   39  LDFLAGS += -R/usr/lib/fm
  40   40  LINTFLAGS += -mnu
  41   41  CERRWARN += -_gcc=-Wno-parentheses
  42      -CERRWARN += -_gcc=-Wno-uninitialized
       42 +CERRWARN += $(CNOWARN_UNINIT)
  43   43  
  44   44  .NO_PARALLEL:
  45   45  .PARALLEL: $(OBJS) $(LINTFILES)
  46   46  
  47   47  all: $(PROG)
  48   48  
  49   49  $(PROG): $(OBJS)
  50   50          $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  51   51          $(CTFMERGE) -L VERSION -o $@ $(OBJS)
  52   52          $(POST_PROCESS)
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX