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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/fm/libfmevent/Makefile.com
          +++ new/usr/src/lib/fm/libfmevent/Makefile.com
↓ open down ↓ 53 lines elided ↑ open up ↑
  54   54  CSTD = $(CSTD_GNU99)
  55   55  
  56   56  CPPFLAGS += -I../common -I.
  57   57  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  58   58  
  59   59  CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
  60   60  CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
  61   61  
  62   62  CERRWARN += -_gcc=-Wno-parentheses
  63   63  CERRWARN += -_gcc=-Wno-unused-function
  64      -CERRWARN += -_gcc=-Wno-uninitialized
       64 +CERRWARN += $(CNOWARN_UNINIT)
  65   65  
  66   66  FMLIBDIR=usr/lib/fm
  67   67  $(BUILD64)FMLIBDIR64=usr/lib/fm/$(MACH64)
  68   68  
  69   69  $(DYNLIB) := LDLIBS += -lumem -lnvpair -luutil -lsysevent \
  70   70          -L$(ROOT)/$(FMLIBDIR) -ltopo -lc
  71   71  
  72   72  $(BUILD64)$(DYNLIB) := LDLIBS64 += -lumem -lnvpair -luutil -lsysevent \
  73   73          -L$(ROOT)/$(FMLIBDIR64) -ltopo -lc
  74   74  
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX