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/fminject/Makefile.com
          +++ new/usr/src/cmd/fm/fminject/Makefile.com
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43  PROG = fminject
  44   44  ROOTPDIR = $(ROOT)/usr/lib/fm/fmd
  45   45  ROOTPROG = $(ROOTPDIR)/$(PROG)
  46   46  OBJS = $(SRCS:%.c=%.o) inj_grammar.o inj_lex.o
  47   47  LINTFILES = $(SRCS:%.c=%.ln)
  48   48  CLEANFILES += inj_grammar.c inj_grammar.h inj_lex.c y.tab.h y.tab.c
  49   49  
  50   50  CPPFLAGS += -I. -I../common
  51   51  CFLAGS += $(CCVERBOSE) $(CTF_FLAGS)
  52   52  CERRWARN += -_gcc=-Wno-switch
  53      -CERRWARN += -_gcc=-Wno-uninitialized
       53 +CERRWARN += $(CNOWARN_UNINIT)
  54   54  CERRWARN += -_gcc=-Wno-type-limits
  55   55  CERRWARN += -_gcc=-Wno-unused-label
  56   56  CERRWARN += -_gcc=-Wno-unused-variable
  57   57  LDLIBS += -L$(ROOT)/usr/lib/fm -lfmd_log -lsysevent -lnvpair -lumem
  58   58  LDFLAGS += -R/usr/lib/fm
  59   59  LINTFLAGS = -mnux
  60   60  STRIPFLAG =
  61   61  
  62   62  LFLAGS = -t -v
  63   63  YFLAGS = -d
↓ open down ↓ 53 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX