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/ipmitopo/Makefile.com
          +++ new/usr/src/cmd/fm/ipmitopo/Makefile.com
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34  ROOTLIBFM = $(ROOT)/usr/lib/fm
  35   35  ROOTLIBFMD = $(ROOT)/usr/lib/fm/fmd
  36   36  ROOTPROG = $(ROOTLIBFMD)/$(PROG)
  37   37  
  38   38  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  39   39  CPPFLAGS += -I. -I../common
  40   40  CFLAGS += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST)
  41   41  LDLIBS += -lipmi -lnvpair
  42   42  LINTFLAGS += -mnu
  43   43  
  44      -CERRWARN += -_gcc=-Wno-uninitialized
       44 +CERRWARN += $(CNOWARN_UNINIT)
  45   45  
  46   46  .NO_PARALLEL:
  47   47  .PARALLEL: $(OBJS) $(LINTFILES)
  48   48  
  49   49  all: $(PROG)
  50   50  
  51   51  $(PROG): $(OBJS)
  52   52          $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  53   53          $(CTFMERGE) -L VERSION -o $@ $(OBJS)
  54   54          $(POST_PROCESS)
↓ open down ↓ 30 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX